From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25731 invoked by alias); 22 Jul 2013 13:46:17 -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 Received: (qmail 23084 invoked by uid 48); 22 Jul 2013 13:44:16 -0000 From: "unixway.drive+gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/57953] New: no C++11 compliant std::ios_base::failure found Date: Mon, 22 Jul 2013 13:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: unixway.drive+gcc at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-07/txt/msg01004.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57953 Bug ID: 57953 Summary: no C++11 compliant std::ios_base::failure found Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: unixway.drive+gcc at gmail dot com =C2=A727.5.3 states that "ios_base defines <...> a class failure derived fr= om system_error". The only std::ios_base::failure I see in a libstdc++ is a pre-C++11 ones. $ g++ -v Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapp= er Target: x86_64-unknown-linux-gnu Configured with: /build/gcc/src/gcc-4.8.1/configure --prefix=3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-p= ch --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend= =3Disl --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=3Ddefa= ult --enable-plugin --with-plugin-ld=3Dld.gold --with-linker-hash-style=3Dgnu --disable-install-libiberty --disable-multilib --disable-libssp --disable-werror --enable-checking=3Drelease Thread model: posix gcc version 4.8.1 (GCC)=20 $ g++ -std=3Dc++11 test.cpp test.cpp: In function =E2=80=98int main(int, char**)=E2=80=99: test.cpp:10:18: error: =E2=80=98class std::ios_base::failure=E2=80=99 has n= o member named =E2=80=98code=E2=80=99 std::cout << e.code().value() << std::endl; >>From gcc-bugs-return-426498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 22 13:59:56 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15336 invoked by alias); 22 Jul 2013 13:59:55 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13085 invoked by uid 48); 22 Jul 2013 13:57:54 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/57953] no C++11 compliant std::ios_base::failure found Date: Mon, 22 Jul 2013 13:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-07/txt/msg01005.txt.bz2 Content-length: 383 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57953 --- Comment #1 from Jonathan Wakely --- (In reply to unixway.drive+gcc from comment #0) > =C2=A727.5.3 states that "ios_base defines <...> a class failure derived = from > system_error". And http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2= 011 states this isn't implemented yet. >>From gcc-bugs-return-426499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 22 14:08:48 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30121 invoked by alias); 22 Jul 2013 14:08:48 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27677 invoked by uid 55); 22 Jul 2013 14:06:46 -0000 From: "morell at cs dot atu.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57892] g++ internal compiler error: in expand_expr_real_1, at expr.c:9122 while attempting to brace-initialize a dynamically allocated array class member Date: Mon, 22 Jul 2013 14:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: morell at cs dot atu.edu X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-07/txt/msg01006.txt.bz2 Content-length: 728 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57892 --- Comment #4 from morell at cs dot atu.edu --- Thank you! On 07/22/2013 04:55 AM, paolo.carlini at oracle dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57892 > > Paolo Carlini changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |RESOLVED > Known to work| |4.8.0, 4.8.1, 4.9.0 > Resolution|--- |FIXED > > --- Comment #3 from Paolo Carlini --- > In fact works with 4.8.0 too. >