I have rechecked with g++-4.6
/$ g++
--version
g++-4.6 (Debian 4.6.0-2) 4.6.1 20110329
(prerelease)
On Mon, Mar 21, 2011 at 05:33:38PM +0300, Fokin Evgeny wrote:
I make simple code for demonstration this compile error. Look attached
files.
Can you please explain why this example is correct?
compileError.hxx:11:62: instantiated from here
/usr/include/c++/4.5/bits/stl_pair.h:77:11: error:
Bastian, I don't think that the example in compileError.hxx is a good
code. But I think than the code is compilable.
I have two arguments.
The first: It is works with g++-4.4 :-)
The second:
When the member function fully defines in the class body it makes the
function inline.
Imagine that in
On Mon, Apr 25, 2011 at 05:20:09PM +0400, Fokin Evgeny wrote:
The first: It is works with g++-4.4 :-)
No argument. The compiler may accept more than the standard specifies.
But g++ 4.5 got more strict in what it accepts.
When the member function fully defines in the class body it makes the
tag 619130 + moreinfo
thanks
please recheck with g++-4.6, and attach the preprocessed source for 4.6 too, if
it still fails to build
thanks, Matthias
--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Processing commands for cont...@bugs.debian.org:
tag 619130 + moreinfo
Bug #619130 [g++-4.5] ERROR: compile in g++-4.5
Added tag(s) moreinfo.
thanks
Stopping processing here.
Please contact me if you need assistance.
--
619130: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619130
Debian
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
7 matches
Mail list logo