stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r544609 - /incubator/stdcxx/trunk/etc/config/acc.config
Date Tue, 05 Jun 2007 19:46:08 GMT
Author: sebor
Date: Tue Jun  5 12:46:07 2007
New Revision: 544609

URL: http://svn.apache.org/viewvc?view=rev&rev=544609
Log:
2007-06-05  Martin Sebor  <sebor@roguewave.com>

	* acc.config: Silenced excessively noisy remarks for aCC 6.10
	and beyond (causing build logs to exceed 15MB in size).

Modified:
    incubator/stdcxx/trunk/etc/config/acc.config

Modified: incubator/stdcxx/trunk/etc/config/acc.config
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/acc.config?view=diff&rev=544609&r1=544608&r2=544609
==============================================================================
--- incubator/stdcxx/trunk/etc/config/acc.config (original)
+++ incubator/stdcxx/trunk/etc/config/acc.config Tue Jun  5 12:46:07 2007
@@ -36,6 +36,23 @@
 # 2401 destructor for base class %t is not virtual
 # 2487 inline %n cannot be explicitly instantiated
 
+    ifeq ($(shell [ $(aCC_MINOR) -gt 10 ] && echo 1),1)
+
+# 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
+# 4235 conversion from "T" to "U" may lose significant bits
+# 4237 type cast from "T" to "U" may cause sign extension
+# 4249 64 bit migration: value could be truncated before cast
+# 4255 padding size of struct with N bytes to alignment boundary
+# 4272 conversion from "T" to "unsigned T" may lose sign
+# 4284 operator= does not return reference to *this
+# 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
+    endif   # aCC > 6.10
 endif   # aCC 6.x
 
 ifeq ($(shell [ $(aCC_MAJOR) -ge 6 -o $(aCC_MINOR) -ge 38 ] && echo 1),1)



Mime
View raw message