From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21300 invoked by alias); 1 Aug 2011 12:33:57 -0000 Received: (qmail 21290 invoked by uid 22791); 1 Aug 2011 12:33:56 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Aug 2011 12:33:43 +0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bkoz at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 01 Aug 2011 12:33:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-08/txt/msg00022.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773 --- Comment #96 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-08-01 12:31:54 UTC --- > --- Comment #90 from Marc Glisse 2011-07-30 20:19:42 UTC --- > How does one go about reporting a bug in solaris? In Solaris 11, with Not anymore since Oracle in their infinite wisdom made bugs.opensolaris.org `temporarily unavailable', which so far has lasted for several months. In general, you need to have a support contract. I do have good connections to Solaris engineering, though. > -std=c++** (as opposed to gnu++**), __cplusplus=199711L and without -m64 or > -pthreads, iso/stdio_iso.h doesn't declare getc but uses it in the definition > of getchar. I could trace this to g++ defining __STRICT_ANSI__ for -std=c++98/c++0x. defines _STRICT_STDC in this case, which hides the !_REENTRANT && !_LP64 && !_STRICT_STDC getc definition in . Rainer