[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#619130: marked as done (ERROR: compile in g++-4.5)



Your message dated Sat, 25 Aug 2012 12:01:11 +0000
with message-id <E1T5F39-0008M9-JI@franck.debian.org>
and subject line Bug#675431: Removed package(s) from unstable
has caused the Debian Bug report #619130,
regarding ERROR: compile in g++-4.5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
619130: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619130
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: g++-4.5
Version: 4.5.2-4

I have found the code normal working with g++-4.4. After upgrade to
g++-4.5 I see "ERROR: compile".

I make simple code for demonstration this compile error. Look attached
files.

$ g++ compileError.cxx
In file included from /usr/include/c++/4.5/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.5/bits/stl_tree.h:62,
                 from /usr/include/c++/4.5/map:60,
                 from compileError.hxx:1,
                 from compileError.cxx:1:
/usr/include/c++/4.5/bits/stl_pair.h: In instantiation of
‘std::pair<const int, structure>’:
compileError.hxx:11:62:   instantiated from here
/usr/include/c++/4.5/bits/stl_pair.h:77:11: error: ‘std::pair<_T1,
_T2>::second’ has incomplete type
compileError.hxx:3:8: error: forward declaration of ‘struct structure’
distcc[7487] ERROR: compile compileError.cxx on localhost failed

-- 
With best regards
Evgeny,
e-mail: efokin@mera.ru

#include "compileError.hxx"

int main()
{
    mapOfStructure tmp;
    return 0;
}

#include <map>

struct structure;

typedef std::map<int, structure> mapOfStructure;

class simleClass
{
    mapOfStructure m_mos;
    const mapOfStructure& GetMos () const { return m_mos; }
    inline void SetMos ( const mapOfStructure& v ) { m_mos = v; }
};

struct structure
{
    int i;
};


--- End Message ---
--- Begin Message ---
Version: 4.5.4-1+rm

Dear submitter,

as the package gcc-4.5 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/675431

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@debian.org.

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)

--- End Message ---

Reply to: