🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Gisle Aas Sat, 23 Jan 1993 02:13
CPP expands macro parameters with newlines wrong
#1641
Author: Gisle Aas
Date: Sat, 23 Jan 1993 02:13
14 lines
870 bytes
------------------------------------
#define macro(a) a a a
macro(foo
bar)
------------------------------------
becomes when run though gcc -E:

foo
bar foobar foobar 

--
Gisle Aas               |  snail: Boks 114 Blindern, N-0314 Oslo, Norway
Norsk Regnesentral      |  X.400: G=Gisle;S=Aas;O=nr;P=uninett;C=no
voice: +47-2-453561     |  inet:  Gisle.Aas@nr.no
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