Author: sebor
Date: Tue Apr 15 12:23:06 2008
New Revision: 648385
URL: http://svn.apache.org/viewvc?rev=648385&view=rev
Log:
2008-04-15 Martin Sebor <[EMAIL PROTECTED]>
STDCXX-873
* etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp [EDG eccp]: Suppressed
EDG eccp error #450-D: the type "long long" is nonstandard when
#including libc headers.
Modified:
stdcxx/trunk/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp
Modified: stdcxx/trunk/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp
URL:
http://svn.apache.org/viewvc/stdcxx/trunk/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp?rev=648385&r1=648384&r2=648385&view=diff
==============================================================================
--- stdcxx/trunk/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp (original)
+++ stdcxx/trunk/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp Tue Apr 15 12:23:06
2008
@@ -18,11 +18,22 @@
* 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
#include <stddef.h> // for size_t
#include <stdio.h> // for printf()