Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 41282 invoked from network); 20 May 2008 20:55:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2008 20:55:28 -0000 Received: (qmail 32284 invoked by uid 500); 20 May 2008 20:55:20 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 32269 invoked by uid 500); 20 May 2008 20:55:20 -0000 Mailing-List: contact issues-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 issues@stdcxx.apache.org Received: (qmail 32234 invoked by uid 99); 20 May 2008 20:55:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 13:55:19 -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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 20:54:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F3B86234C118 for ; Tue, 20 May 2008 13:54:56 -0700 (PDT) Message-ID: <469586764.1211316896996.JavaMail.jira@brutus> Date: Tue, 20 May 2008 13:54:56 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Commented: (STDCXX-940) [HP aCC 6] remark #4244: extern storage class used with a function definition In-Reply-To: <1113894104.1211316655581.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598459#action_12598459 ] Martin Sebor commented on STDCXX-940: ------------------------------------- The {{extern}} keyword is there because when we compiled this code with aCC 3, we'd get Warning 933 informing us that the first argument to the {{_RWSTD_DEFINE_FACET_FACTORY()}} macro was null (empty) because {{_RWSTD_EXPORT}} expands into /* empty */ except on Windows (where it expands to {{\_\_declspec (dllexport)}}). > [HP aCC 6] remark #4244: extern storage class used with a function definition > ----------------------------------------------------------------------------- > > Key: STDCXX-940 > URL: https://issues.apache.org/jira/browse/STDCXX-940 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > Affects Versions: 4.2.1 > Environment: aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007] > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Trivial > Fix For: 4.2.2 > > Original Estimate: 1h > Remaining Estimate: 1h > > When compiling with HP aCC 6, the library builds with the following three warnings: > {noformat} > aCC -c -I$(TOPDIR)/include -I$(BUILDDIR)/include -AA +O2 +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348 +Z $(TOPDIR)/src/ti_num_get.cpp > "$(TOPDIR)/src/ti_num_get.cpp", line 51: remark #4244-D: extern storage class used with a function definition > _RWSTD_DEFINE_FACET_FACTORY (extern _RWSTD_EXPORT, num_get, TARGS_C, num_get); > ^ > aCC -c -I$(TOPDIR)/include -I$(BUILDDIR)/include -AA +O2 +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348 +Z $(TOPDIR)/src/ti_num_put.cpp > "$(TOPDIR)/src/ti_num_put.cpp", line 49: remark #4244-D: extern storage class used with a function definition > _RWSTD_DEFINE_FACET_FACTORY (extern _RWSTD_EXPORT, num_put, TARGS_C, num_put); > ^ > aCC -c -I$(TOPDIR)/include -I$(BUILDDIR)/include -AA +O2 +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348 +Z $(TOPDIR)/src/ti_numpunct.cpp > "$(TOPDIR)/src/ti_numpunct.cpp", line 49: remark #4244-D: extern storage class used with a function definition > _RWSTD_DEFINE_FACET_FACTORY (extern _RWSTD_EXPORT, numpunct, , numpunct); > ^ > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.