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:
4
configure
vendored
4
configure
vendored
@@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# From configure.in Id: configure.in 56747 2008-11-12 15:31:44Z VZ .
|
||||
# From configure.in Id: configure.in 56751 2008-11-12 15:58:56Z VZ .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
|
||||
#
|
||||
@@ -24053,7 +24053,7 @@ if test "x$HPCC" = "xyes"; then
|
||||
CFLAGS="+W 2011,2450 $CFLAGS"
|
||||
fi
|
||||
if test "x$HPCXX" = "xyes"; then
|
||||
CXXFLAGS="+W 2340 $CXXFLAGS"
|
||||
CXXFLAGS="+W 2340,4232 $CXXFLAGS"
|
||||
fi
|
||||
|
||||
if test "x$COMPAQCXX" = "xyes"; then
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user