Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 77917 invoked from network); 6 Jul 2007 21:59:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jul 2007 21:59:26 -0000 Received: (qmail 55117 invoked by uid 500); 6 Jul 2007 21:59:28 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 55084 invoked by uid 500); 6 Jul 2007 21:59:28 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 55065 invoked by uid 99); 6 Jul 2007 21:59:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 14:59:28 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 14:59:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 74FF4714187 for ; Fri, 6 Jul 2007 14:59:04 -0700 (PDT) Message-ID: <30899221.1183759144459.JavaMail.jira@brutus> Date: Fri, 6 Jul 2007 14:59:04 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Assigned: (STDCXX-469) std::locale::facet ctor and dtor public, should be protected In-Reply-To: <28693732.1183759024451.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-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor reassigned STDCXX-469: ----------------------------------- Assignee: Martin Sebor > std::locale::facet ctor and dtor public, should be protected > ------------------------------------------------------------ > > Key: STDCXX-469 > URL: https://issues.apache.org/jira/browse/STDCXX-469 > Project: C++ Standard Library > Issue Type: Bug > Components: 22. Localization > Affects Versions: 4.1.3, 4.1.2 > Environment: all > Reporter: Martin Sebor > Assignee: Martin Sebor > > The program below compiles even though it shouldn't because according to [locale.facet], p1, std::locale::facet ctor and dtor are both supposed to be protected: > $ cat t.cpp && make t > #include > int main () > { > std::locale::facet f; > } > gcc -c -I/build/sebor/stdcxx/include/ansi -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build/sebor/stdcxx/include -I/build/sebor/stdcxx-gcc-4.1.0-11s/include -I/build/sebor/stdcxx/tests/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long t.cpp > gcc t.o -o t -L/build/sebor/stdcxx-gcc-4.1.0-11s/rwtest -lrwtest11s -L/build/sebor/stdcxx-gcc-4.1.0-11s/lib -lstd11s -lsupc++ -lm -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.