disable warning about possible misaligned access given by HP aCC as we can't do anything about it because it's triggered by all GTK+ cast macros

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-11-14 23:22:26 +00:00
parent e81ea1070d
commit e4513a5eae
2 changed files with 7 additions and 3 deletions

View File

@@ -1786,7 +1786,11 @@ fi
if test "x$HPCXX" = "xyes"; then
dnl 2340: "value copied to temporary, reference to temporary used": very
dnl painful as triggered by any occurrence of user-defined conversion
CXXFLAGS="+W 2340 $CXXFLAGS"
dnl 4232: "conversion from 'Foo *' to a more strictly aligned type 'Bar *'
dnl may cause misaligned access": this might indicate a real problem
dnl but any use of GTK+ cast macros results in it so it's unusable
dnl for wxGTK code
CXXFLAGS="+W 2340,4232 $CXXFLAGS"
fi
dnl DEC/Compaq/HP cxx warnings