angel@FLIPPER.MIAMI.EDU (angel li) (10/19/89)
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