This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
C++ Warnings on trunk
- From: NightStrike <nightstrike at gmail dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, "Ian Lance Taylor" <iant at google dot com>, "Kai Tietz" <ktietz70 at googlemail dot com>, "Kai Tietz" <Kai dot Tietz at onevision dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 8 Jul 2008 12:32:38 -0400
- Subject: C++ Warnings on trunk
I was under the impression that these would be cleaned up before the
-W options were applied to the trunk. The following are for an
x86_64-pc-linux to x86_64-pc-mingw32 cross compiler:
In file included from ../../../gcc/libgcc/../gcc/unwind-dw2.c:41:
../../../gcc/libgcc/../gcc/unwind-dw2-fde.h: In function 'get_cie':
../../../gcc/libgcc/../gcc/unwind-dw2-fde.h:163: warning: request for
implicit conversion from 'const void *' to 'const struct dwarf_cie *'
not permitted in C++
In file included from ../../../gcc/libgcc/../gcc/unwind-dw2-fde.c:41:
../../../gcc/libgcc/../gcc/unwind-dw2-fde.h: In function 'get_cie':
../../../gcc/libgcc/../gcc/unwind-dw2-fde.h:163: warning: request for
implicit conversion from 'const void *' to 'const struct dwarf_cie *'
not permitted in C++
In file included from ../.././gcc/gthr-default.h:1,
from ../../../gcc/libgcc/../gcc/gthr.h:134,
from ../../../gcc/libgcc/../gcc/unwind-sjlj.c:36:
../../../gcc/libgcc/../gcc/gthr-win32.h: In function '__gthread_setspecific':
../../../gcc/libgcc/../gcc/gthr-win32.h:615: warning: cast discards
qualifiers from pointer target type
../../../gcc/libgcc/../gcc/unwind-sjlj.c: In function '_Unwind_SjLj_Register':
../../../gcc/libgcc/../gcc/unwind-sjlj.c:133: warning: request for
implicit conversion from 'void *' to 'struct SjLj_Function_Context *'
not permitted in C++
../../../gcc/libgcc/../gcc/config/i386/gthr-win32.c: In function
'__gthr_win32_setspecific':
../../../gcc/libgcc/../gcc/config/i386/gthr-win32.c:144: warning: cast
discards qualifiers from pointer target type
In file included from ../.././gcc/gthr-default.h:1,
from ../../../gcc/libgcc/../gcc/gthr.h:134,
from ../../../gcc/libgcc/../gcc/unwind-dw2.c:42:
../../../gcc/libgcc/../gcc/gthr-win32.h: In function '__gthread_setspecific':
../../../gcc/libgcc/../gcc/gthr-win32.h:615: warning: cast discards
qualifiers from pointer target type
In file included from ../.././gcc/gthr-default.h:1,
from ../../../gcc/libgcc/../gcc/gthr.h:134,
from ../../../gcc/libgcc/../gcc/unwind-dw2-fde.c:42: