You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2008/05/02 23:47:35 UTC

svn commit: r652922 - in /stdcxx/branches/4.2.x/etc/config/src: MBSTATE_T.cpp WCTRANS_T.cpp WCTYPE_T.cpp WINT_T.cpp

Author: sebor
Date: Fri May  2 14:47:35 2008
New Revision: 652922

URL: http://svn.apache.org/viewvc?rev=652922&view=rev
Log:
2008-05-02  Martin Sebor  <se...@roguewave.com>

	* etc/config/src/WCTYPE_T.cpp [EDG eccp]: Suppressed EDG eccp error
	#450-D: the type "long long" is nonstandard when #including libc
	headers.
	* etc/config/src/WCTRANS_T.cpp: Same.
	* etc/config/src/MBSTATE_T.cpp: Same.
	* etc/config/src/WINT_T.cpp: Same.

Modified:
    stdcxx/branches/4.2.x/etc/config/src/MBSTATE_T.cpp
    stdcxx/branches/4.2.x/etc/config/src/WCTRANS_T.cpp
    stdcxx/branches/4.2.x/etc/config/src/WCTYPE_T.cpp
    stdcxx/branches/4.2.x/etc/config/src/WINT_T.cpp

Modified: stdcxx/branches/4.2.x/etc/config/src/MBSTATE_T.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/etc/config/src/MBSTATE_T.cpp?rev=652922&r1=652921&r2=652922&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/etc/config/src/MBSTATE_T.cpp (original)
+++ stdcxx/branches/4.2.x/etc/config/src/MBSTATE_T.cpp Fri May  2 14:47:35 2008
@@ -18,12 +18,24 @@
  * 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.
  * 
  **************************************************************************/
 
 #include "config.h"
 
+#if    defined (__EDG__)                \
+    && !defined (__DECCXX)              \
+    && !defined (__HP_aCC)              \
+    && !defined (__INTEL_COMPILER)      \
+    && !defined (_SGI_COMPILER_VERSION)
+   // disable error #450-D: the type "long long" is nonstandard
+   // when using the vanilla EDG eccp in strict mode (i.e., w/o
+   // long long support)
+#  pragma diag_suppress 450
+#endif   // EDG eccp on Linux
+
+
 // defined to get the correct definition of mbstate_t, available on HPUX;
 // once we get the correct size of the struct, _RWSTD_NO_MBSTATE_T is 
 // defined in rw/_config.h and we (and the users of the library) are left 

Modified: stdcxx/branches/4.2.x/etc/config/src/WCTRANS_T.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/etc/config/src/WCTRANS_T.cpp?rev=652922&r1=652921&r2=652922&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/etc/config/src/WCTRANS_T.cpp (original)
+++ stdcxx/branches/4.2.x/etc/config/src/WCTRANS_T.cpp Fri May  2 14:47:35 2008
@@ -18,12 +18,24 @@
  * 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.
  * 
  **************************************************************************/
 
 #include "config.h"
 
+#if    defined (__EDG__)                \
+    && !defined (__DECCXX)              \
+    && !defined (__HP_aCC)              \
+    && !defined (__INTEL_COMPILER)      \
+    && !defined (_SGI_COMPILER_VERSION)
+   // disable error #450-D: the type "long long" is nonstandard
+   // when using the vanilla EDG eccp in strict mode (i.e., w/o
+   // long long support)
+#  pragma diag_suppress 450
+#endif   // EDG eccp on Linux
+
+
 #ifndef _RWSTD_NO_WCHAR_H
 #  include <wchar.h>
 #endif   // _RWSTD_NO_WCHAR_H

Modified: stdcxx/branches/4.2.x/etc/config/src/WCTYPE_T.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/etc/config/src/WCTYPE_T.cpp?rev=652922&r1=652921&r2=652922&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/etc/config/src/WCTYPE_T.cpp (original)
+++ stdcxx/branches/4.2.x/etc/config/src/WCTYPE_T.cpp Fri May  2 14:47:35 2008
@@ -18,12 +18,25 @@
  * 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.
  * 
  **************************************************************************/
 
 #include "config.h"
 
+
+#if    defined (__EDG__)                \
+    && !defined (__DECCXX)              \
+    && !defined (__HP_aCC)              \
+    && !defined (__INTEL_COMPILER)      \
+    && !defined (_SGI_COMPILER_VERSION)
+   // disable error #450-D: the type "long long" is nonstandard
+   // when using the vanilla EDG eccp in strict mode (i.e., w/o
+   // long long support)
+#  pragma diag_suppress 450
+#endif   // EDG eccp on Linux
+
+
 #ifndef _RWSTD_NO_WCHAR_H
 #  include <wchar.h>
 #endif   // _RWSTD_NO_WCHAR_H

Modified: stdcxx/branches/4.2.x/etc/config/src/WINT_T.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/etc/config/src/WINT_T.cpp?rev=652922&r1=652921&r2=652922&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/etc/config/src/WINT_T.cpp (original)
+++ stdcxx/branches/4.2.x/etc/config/src/WINT_T.cpp Fri May  2 14:47:35 2008
@@ -18,12 +18,24 @@
  * 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.
  * 
  **************************************************************************/
 
 #include "config.h"
 
+#if    defined (__EDG__)                \
+    && !defined (__DECCXX)              \
+    && !defined (__HP_aCC)              \
+    && !defined (__INTEL_COMPILER)      \
+    && !defined (_SGI_COMPILER_VERSION)
+   // disable error #450-D: the type "long long" is nonstandard
+   // when using the vanilla EDG eccp in strict mode (i.e., w/o
+   // long long support)
+#  pragma diag_suppress 450
+#endif   // EDG eccp on Linux
+
+
 #ifndef _RWSTD_NO_WCHAR_H
 #  include <wchar.h>
 #endif   // _RWSTD_NO_WCHAR_H