Package: g++-4.4
Version: 4.4.4-6

g++-4.4 is unable to compile the following source code line successfully with 
the compiler flag "std=gnu++0x":
  char table[] = { -1, -1 };

Example:
u...@machine# g++-4.4 -std=gnu++0x -funsigned-char -c /tmp/test.c
/tmp/test.c:1: error: narrowing conversion of ‘-0x000000001’ from ‘int’ to 
‘char’ inside { }
/tmp/test.c:1: error: narrowing conversion of ‘-0x000000001’ from ‘int’ to 
‘char’ inside { }

Without the "--std=gnu++0x" flag, g++-4.4 succeeds:
u...@machine# g++-4.4 -funsigned-char -c /tmp/test.c
<done>

This is a regression, since g++-4.3 succeeds either with or without the 
-std=gnu++0x flag,
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to