This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29940] New: A variable named _S exists without declaration
- From: "boris dot breidenbach at physik dot uni-erlangen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2006 15:03:53 -0000
- Subject: [Bug c++/29940] New: A variable named _S exists without declaration
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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