🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by angel li Wed, 18 Oct 1989 20:53
g++ 1.36 bug
#584
Author: angel li
Date: Wed, 18 Oct 1989 20:53
26 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads