Author: sebor
Date: Fri Mar 28 10:13:05 2008
New Revision: 642297
URL: http://svn.apache.org/viewvc?rev=642297&view=rev
Log:
2008-03-28 Martin Sebor <[EMAIL PROTECTED]>
* etc/config/acc.config (WARNFLAGS): Coalesced multiple warning
options into a handful with multiple arguments each for brevity.
Modified:
stdcxx/trunk/etc/config/acc.config
Modified: stdcxx/trunk/etc/config/acc.config
URL:
http://svn.apache.org/viewvc/stdcxx/trunk/etc/config/acc.config?rev=642297&r1=642296&r2=642297&view=diff
==============================================================================
--- stdcxx/trunk/etc/config/acc.config (original)
+++ stdcxx/trunk/etc/config/acc.config Fri Mar 28 10:13:05 2008
@@ -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,7 +41,7 @@
# 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)
@@ -55,7 +55,7 @@
# 2487 inline %n cannot be explicitly instantiated
# disable aCC 6.x (EDG front end) warnings emitted with +w:
-WARNFLAGS += +W2193 +W2236 +W2261 +W2340 +W2401 +W2487
+WARNFLAGS += +W2193,2236,2261,2340,2401,2487
ifeq ($(shell [ $(aCC_MINOR) -gt 10 ] && echo 1),1)
@@ -76,9 +76,8 @@
# 4296 arithmetic operation on boolean type
# 4297 boolean value is used as array index
- WARNFLAGS += +W4227 +W4229 +W4231 +W4235 +W4237 +W4249 \
- +W4255 +W4272 +W4284 +W4285 +W4286 +W4296 \
- +W4297
+ WARNFLAGS += +W4227,4229,4231,4235,4237,4249 \
+ +W4255,4272,4284,4285,4286,4296,4297
ifeq ($(shell [ $(aCC_MINOR) -lt 20 ] && echo 1),1)