stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r642302 - /stdcxx/branches/4.2.x/etc/config/acc.config
Date Fri, 28 Mar 2008 17:22:13 GMT
Author: sebor
Date: Fri Mar 28 10:22:02 2008
New Revision: 642302

URL: http://svn.apache.org/viewvc?rev=642302&view=rev
Log:
2008-03-28  Martin Sebor  <sebor@roguewave.com>

	Merged rev 642297 from trunk.
	* etc/config/acc.config (WARNFLAGS): Coalesced multiple warning
	options into a handful with multiple arguments each.

Modified:
    stdcxx/branches/4.2.x/etc/config/acc.config

Modified: stdcxx/branches/4.2.x/etc/config/acc.config
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/etc/config/acc.config?rev=642302&r1=642301&r2=642302&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/etc/config/acc.config (original)
+++ stdcxx/branches/4.2.x/etc/config/acc.config Fri Mar 28 10:22:02 2008
@@ -22,7 +22,7 @@
 # implied.   See  the License  for  the  specific language  governing
 # permissions and limitations under the License.
 #
-# Copyright 1999-2007 Rogue Wave Software, Inc.
+# Copyright 1999-2008 Rogue Wave Software, Inc.
 #
 ########################################################################
 
@@ -33,7 +33,7 @@
 aCC_MAJOR := $(shell echo $(CCVER) | sed "s/[^.]*\.\([0-9]*\)\..*/\1/")
 aCC_MINOR := $(shell echo $(CCVER) | sed "s/[^.]*\.[^.]*\.\([0-9]*\)/\1/")
 
-WARNFLAGS = +w +W392 +W655 +W684 +W818 +W819 +W849
+WARNFLAGS = +w +W392,655,684,818,819,849
 
 ifeq ($(shell [ $(aCC_MAJOR) -eq 3 -a $(aCC_MINOR) -lt 33 ] && echo 1),1)
 
@@ -41,14 +41,12 @@
 #    229 Ambiguous overloaded function call
 #    361 Value-returning function might end without executing a return statement
 
-WARNFLAGS  += +W229 +W361
+WARNFLAGS  += +W229,361
 endif
 
 ifeq ($(aCC_MAJOR),06)
 
-# disable aCC 6.x (EDG front end) warnings emitted with +w:
-WARNFLAGS  += +W2193 +W2236 +W2261 +W2340 +W2401 +W2487
-
+# disabled warnings:
 # 2193 zero used for undefined preprocessing identifier
 # 2236 controlling expression is constant
 # 2261 access control not specified (%sq by default)
@@ -56,8 +54,12 @@
 # 2401 destructor for base class %t is not virtual
 # 2487 inline %n cannot be explicitly instantiated
 
+# disable aCC 6.x (EDG front end) warnings emitted with +w:
+WARNFLAGS  += +W2193,2236,2261,2340,2401,2487
+
     ifeq ($(shell [ $(aCC_MINOR) -gt 10 ] && echo 1),1)
 
+# disabled remarks:
 # 4227 padding struct with N bytes to align member
 # 4229 64 bit migration: conversion from "long" to "int" may truncate value
 # 4231 64 bit migration: conversion between types of different sizes
@@ -70,8 +72,23 @@
 # 4285 operator= does not have a check for the source and destination
 # 4286 return non-const handle to non-public data member
 
-        WARNFLAGS += +W4227 +W4229 +W4231 +W4235 +W4237 +W4249 \
-                     +W4255 +W4272 +W4284 +W4285 +W4286
+# remarks disabled as useless (even according to HP):
+# 4296 arithmetic operation on boolean type
+# 4297 boolean value is used as array index
+
+        WARNFLAGS += +W4227,4229,4231,4235,4237,4249 \
+                     +W4255,4272,4284,4285,4286,4296,4297
+
+        ifeq ($(shell [ $(aCC_MINOR) -lt 20 ] && echo 1),1)
+
+# disabled due to STDCXX-694 (hopefully fixed by the time 6.20 comes out)
+# 3348 declaration hides constant or variable
+
+            WARNFLAGS += +W3348
+
+        endif   # aCC < 6.20
+
+
     endif   # aCC > 6.10
 endif   # aCC 6.x
 



Mime
View raw message