Bug#619130: ERROR: compile in g++-4.5

2011-04-25 Thread Fokin Evgeny
I have rechecked with g++-4.6 /$ g++ --version g++-4.6 (Debian 4.6.0-2) 4.6.1 20110329 (prerelease)

Bug#619130: ERROR: compile in g++-4.5

2011-04-25 Thread Bastian Blank
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:

Bug#619130: ERROR: compile in g++-4.5

2011-04-25 Thread Fokin Evgeny
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

Bug#619130: ERROR: compile in g++-4.5

2011-04-25 Thread Bastian Blank
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

Bug#619130: ERROR: compile in g++-4.5

2011-04-23 Thread Matthias Klose
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-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Bug#619130: ERROR: compile in g++-4.5

2011-03-21 Thread Fokin Evgeny
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