public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29940]  New: A variable named _S exists without declaration
@ 2006-11-22 15:04 boris dot breidenbach at physik dot uni-erlangen dot de
  2006-11-22 15:05 ` [Bug c++/29940] " boris dot breidenbach at physik dot uni-erlangen dot de
  2006-11-22 16:45 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: boris dot breidenbach at physik dot uni-erlangen dot de @ 2006-11-22 15:04 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/29940] A variable named _S exists without declaration
  2006-11-22 15:04 [Bug c++/29940] New: A variable named _S exists without declaration boris dot breidenbach at physik dot uni-erlangen dot de
@ 2006-11-22 15:05 ` boris dot breidenbach at physik dot uni-erlangen dot de
  2006-11-22 16:45 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: boris dot breidenbach at physik dot uni-erlangen dot de @ 2006-11-22 15:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from boris dot breidenbach at physik dot uni-erlangen dot de  2006-11-22 15:05 -------
Created an attachment (id=12667)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12667&action=view)
output of g++ -E 


-- 


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/29940] A variable named _S exists without declaration
  2006-11-22 15:04 [Bug c++/29940] New: A variable named _S exists without declaration boris dot breidenbach at physik dot uni-erlangen dot de
  2006-11-22 15:05 ` [Bug c++/29940] " boris dot breidenbach at physik dot uni-erlangen dot de
@ 2006-11-22 16:45 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-22 16:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-11-22 16:45 -------
_S is in the reserved identifiers for implemenation so ...


Closing as invalid.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-22 16:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-22 15:04 [Bug c++/29940] New: A variable named _S exists without declaration boris dot breidenbach at physik dot uni-erlangen dot de
2006-11-22 15:05 ` [Bug c++/29940] " boris dot breidenbach at physik dot uni-erlangen dot de
2006-11-22 16:45 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).