🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Clarence Martens Tue, 03 Nov 1992 02:27
bug in preprocessor handling of #include, gcc version 2.2.2
#73
Author: Clarence Martens
Date: Tue, 03 Nov 1992 02:27
12 lines
976 bytes
There is a bug in the way gcc version 2.2.2 handles #include statements.
For example:
	#define TT(a,b) #a #b
	#include TT(./, happy.h)
should cause the compiler to include file "./happy.h" but instead gcc gives
the following error message:
	`#include' expects "fname" or <fname>
This is an important bug since the new NeXT 3.0 system uses #includes of the
above format in the system's header files.

Clarence Martens
martens@unixg.ubc.ca
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