[Bug c++/29940] New: A variable named _S exists without declaration

boris dot breidenbach at physik dot uni-erlangen dot de gcc-bugzilla@gcc.gnu.org
Wed Nov 22 15:04:00 GMT 2006


This program compiles:

#include <iostream>

int main()
{
    std::cout << _S << std::endl;

    return 0;

}

If started, it outputs : 8

output of my g++ -v:

Reading specs from /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.0.2/specs
Target: i386-pc-solaris2.8
Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4
--with-local-prefix=/opt/csw --with-gnu-as --with-as=/opt/csw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
--enable-shared --enable-multilib --enable-nls --with-included-gettext
--with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib
--with-system-zlib --enable-languages=c,c++,f95,java,objc,ada
Thread model: posix
gcc version 4.0.2


-- 
           Summary: A variable named _S exists without declaration
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: boris dot breidenbach at physik dot uni-erlangen dot de
 GCC build triplet: i386-pc-solaris2.8
  GCC host triplet: i386-pc-solaris2.8
GCC target triplet: i386-pc-solaris2.8


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29940



More information about the Gcc-bugs mailing list