Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 87473 invoked from network); 20 Feb 2008 01:35:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2008 01:35:43 -0000 Received: (qmail 48322 invoked by uid 500); 20 Feb 2008 01:35:38 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 48294 invoked by uid 500); 20 Feb 2008 01:35:38 -0000 Mailing-List: contact commits-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list commits@stdcxx.apache.org Received: (qmail 48280 invoked by uid 99); 20 Feb 2008 01:35:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 17:35:38 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2008 01:34:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7CE971A9832; Tue, 19 Feb 2008 17:35:19 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r629306 - in /stdcxx/trunk/util: aliases.cpp locale.cpp memchk.cpp Date: Wed, 20 Feb 2008 01:35:18 -0000 To: commits@stdcxx.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080220013519.7CE971A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Tue Feb 19 17:35:15 2008 New Revision: 629306 URL: http://svn.apache.org/viewvc?rev=629306&view=rev Log: 2008-02-19 Martin Sebor STDCXX-736 * util/locale.cpp [_RWSTD_EDG_ECCP]: Suppressed EDG eccp error #450-D: the type "long long" is nonstandard, issued for uses of the type in the Linux pthreadtypes.h system header. * util/aliases.cpp [_RWSTD_EDG_ECCP]: Same. * util/memchk.cpp [_RWSTD_EDG_ECCP && !_WIN32](getpagesize): Declared. Modified: stdcxx/trunk/util/aliases.cpp stdcxx/trunk/util/locale.cpp stdcxx/trunk/util/memchk.cpp Modified: stdcxx/trunk/util/aliases.cpp URL: http://svn.apache.org/viewvc/stdcxx/trunk/util/aliases.cpp?rev=629306&r1=629305&r2=629306&view=diff ============================================================================== --- stdcxx/trunk/util/aliases.cpp (original) +++ stdcxx/trunk/util/aliases.cpp Tue Feb 19 17:35:15 2008 @@ -22,10 +22,19 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. * - * Copyright 2001-2007 Rogue Wave Software, Inc. + * Copyright 2001-2008 Rogue Wave Software, Inc. * **************************************************************************/ +#include + +#ifdef _RWSTD_EDG_ECCP + // disable error #450-D: the type "long long" is nonstandard + // issued for uses of the type in Linux system headers (e.g., + // pthreadtypes.h) +# pragma diag_suppress 450 +#endif // vanilla EDG eccp demo + #ifdef __linux__ // on Linux define _XOPEN_SOURCE to get CODESET defined in # define _XOPEN_SOURCE 500 /* SUS conformance */ @@ -33,8 +42,6 @@ #endif // __linux__ #include "diagnostic.h" - -#include #include // for assert() #include // for errno Modified: stdcxx/trunk/util/locale.cpp URL: http://svn.apache.org/viewvc/stdcxx/trunk/util/locale.cpp?rev=629306&r1=629305&r2=629306&view=diff ============================================================================== --- stdcxx/trunk/util/locale.cpp (original) +++ stdcxx/trunk/util/locale.cpp Tue Feb 19 17:35:15 2008 @@ -26,12 +26,20 @@ * **************************************************************************/ +#include + #if defined (__linux__) && !defined (_XOPEN_SOURCE) // on Linux define _XOPEN_SOURCE to get CODESET defined in # define _XOPEN_SOURCE 500 /* Single UNIX conformance */ #endif // __linux__ -#include +#ifdef _RWSTD_EDG_ECCP + // disable error #450-D: the type "long long" is nonstandard + // issued for uses of the type in Linux system headers (e.g., + // pthreadtypes.h) +# pragma diag_suppress 450 +#endif // vanilla EDG eccp demo + #include _RWSTD_SYS_TYPES_H #if _RWSTD_PATH_SEP == '/' Modified: stdcxx/trunk/util/memchk.cpp URL: http://svn.apache.org/viewvc/stdcxx/trunk/util/memchk.cpp?rev=629306&r1=629305&r2=629306&view=diff ============================================================================== --- stdcxx/trunk/util/memchk.cpp (original) +++ stdcxx/trunk/util/memchk.cpp Tue Feb 19 17:35:15 2008 @@ -22,7 +22,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. * - * Copyright 2001-2006 Rogue Wave Software. + * Copyright 2001-2008 Rogue Wave Software, Inc. * **************************************************************************/ @@ -66,6 +66,17 @@ # define P_tmpdir _P_tmpdir # endif #endif // P_tmpdir + + +#if defined (_RWSTD_EDG_ECCP) && !defined (_WIN32) + +extern "C" { + +int getpagesize (); + +} // extern "C" + +#endif // vanilla EDG eccp demo on UNIX static int page_size ()