This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]