Article View: gnu.g++.bug
Article #584g++ 1.36 bug
From: angel li
Date: Wed, 18 Oct 1989 20:53
Date: Wed, 18 Oct 1989 20:53
26 lines
1080 bytes
1080 bytes
Using the latest g++.xtar.Z on labrea, g++ complains when compiling
this file:
#define stdin $$PsectAttributes_NOSHR$$stdin
extern int *stdin;
int sub()
{
void x(int *);
x(stdin);
}
The same happens on a VAX running Ultrix or on VMS. I used gcc 1.36
to build g++.
Script started on Tue Oct 17 23:19:34 1989
bash$ g++ -c -fdollars-in-identifiers a.cc
a.cc:2: warning: identifier name `$$PsectAttributes_NOSHR$$stdin' conflicts with GNU C++ internal naming strategy
a.cc:2: type name expected before `*'
a.cc: In function int sub ():
a.cc:8: warning: identifier name `$$PsectAttributes_NOSHR$$stdin' conflicts with GNU C++ internal naming strategy
bash$ exit
script done on Tue Oct 17 23:19:47 1989
Technical Details
Message-ID:
<8910182053.AA21481@flipper.Miami.EDU>Path:
arc1-ca.pugleaf.net!utzoo!telly!moore!ziebmef!becker!geac!jtsv16!uunet!tut.cis.ohio-state.edu!FLIPPER.MIAMI.EDU!angelShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!moore!ziebmef!becker!geac!jtsv16!uunet!tut.cis.ohio-state.edu!FLIPPER.MIAMI.EDU!angel From: angel@FLIPPER.MIAMI.EDU (angel li) Newsgroups: gnu.g++.bug Subject: g++ 1.36 bug Message-ID: <8910182053.AA21481@flipper.Miami.EDU> Date: 18 Oct 89 20:53:42 GMT Distribution: gnu Organization: GNUs Not Usenet Lines: 26