Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 9767 invoked from network); 6 Sep 2008 20:31:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2008 20:31:07 -0000 Received: (qmail 12786 invoked by uid 500); 6 Sep 2008 20:31:05 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 12758 invoked by uid 500); 6 Sep 2008 20:31:05 -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 12749 invoked by uid 99); 6 Sep 2008 20:31:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Sep 2008 13:31:05 -0700 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Sep 2008 20:30:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BE33A2388961; Sat, 6 Sep 2008 13:30:16 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r692728 - /stdcxx/branches/4.2.x/etc/config/acc.config Date: Sat, 06 Sep 2008 20:30:16 -0000 To: commits@stdcxx.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080906203016.BE33A2388961@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Sat Sep 6 13:30:16 2008 New Revision: 692728 URL: http://svn.apache.org/viewvc?rev=692728&view=rev Log: 2008-09-06 Martin Sebor STDCXX-1014 * etc/config/acc.config (WARNFLAGS): Enabled the +wperfadvice and +wsecurity warning options for HP aCC 6.15 and 6.05 (with optimization), respectively. Modified: stdcxx/branches/4.2.x/etc/config/acc.config Modified: stdcxx/branches/4.2.x/etc/config/acc.config URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/etc/config/acc.config?rev=692728&r1=692727&r2=692728&view=diff ============================================================================== --- stdcxx/branches/4.2.x/etc/config/acc.config (original) +++ stdcxx/branches/4.2.x/etc/config/acc.config Sat Sep 6 13:30:16 2008 @@ -46,6 +46,21 @@ ifeq ($(aCC_MAJOR),06) + ifeq ($(findstring optimized,$(BUILDMODE)),optimized) + ifeq ($(shell [ $(aCC_MINOR) -ge 5 ] && echo 1),1) + # enable security warnings for aCC 6.05 and higher + # when optimization is enabled (the option implicitly + # enables a limited form of cross module analysis and + # increases compilation times) + WARNFLAGS += +wsecurity + endif # aCC >= 6.05 + endif # optimization on + + ifeq ($(shell [ $(aCC_MINOR) -ge 15 ] && echo 1),1) + # enable performance suggestions for aCC 6.15 and higher + WARNFLAGS += +wperfadvice + endif # aCC >= 6.15 + # disabled warnings: # 2193 zero used for undefined preprocessing identifier # 2236 controlling expression is constant