This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
New warning
- From: Paolo Carlini <pcarlini at suse dot de>
- To: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Cc: Jason Merrill <jason at redhat dot com>
- Date: Thu, 17 May 2007 12:51:34 +0200
- Subject: New warning
Hi,
while building libsup++ I'm seeing this new warning, related to the
__forced_unwind work... Before doing any damage ;) better asking Jason
to have a look...
../../../../trunk/libstdc++-v3/libsupc++/eh_personality.cc: In function
'_Unwind_Reason_Code __cxxabiv1::__gxx_personality_v0(int,
_Unwind_Action, _Unwind_Exception_Class, _Unwind_Exception*,
_Unwind_Context*)':
../../../../trunk/libstdc++-v3/libsupc++/eh_personality.cc:548: warning:
dereferencing type-punned pointer will break strict-aliasing rules
../../../../trunk/libstdc++-v3/libsupc++/eh_personality.cc:555: warning:
dereferencing type-punned pointer will break strict-aliasing rules
../../../../trunk/libstdc++-v3/libsupc++/eh_personality.cc: In function
'void __cxxabiv1::__cxa_call_unexpected(void*)':
../../../../trunk/libstdc++-v3/libsupc++/eh_personality.cc:768: warning:
dereferencing type-punned pointer will break strict-aliasing rules
Paolo.