🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51329

Problems in compiling xview with gcc2.3.3

#51329
From: Oz Dror
Date: Fri, 04 Jun 1993 19:52
27 lines
1696 bytes

While Compiling Xview I get the following error

gcc -c  -O2 -m486 -DNO_ASM -fpcc-struct-return -I../../.././build/include
-I/usr/local/include  -DSCO -DBROKEN_FTOL -DNO_PROTOTYPE -D_SVID -DSYSV
-DSYSV386 -DOZ_CHANGE   -DOS_HAS_LOCALE   frame_init.c
frame_init.c: In function `frame_default_done_func':
frame_init.c:58: `NULL' undeclared (first use this function)
frame_init.c:58: (Each undeclared identifier is reported only once
frame_init.c:58: for each function it appears in.)
frame_init.c: In function `frame_init':
frame_init.c:104: `NULL' undeclared (first use this function)
frame_init.c: In function `frame_create_footer':
frame_init.c:377: `NULL' undeclared (first use this function)

It seems that the error is because of lack of recursive expansion of macros.
I did not find in the gcc manual a flag that can be set to enable recursive
expansion of macros.

I use gcc 2.3.3 on SCO UNIX 3.2.2 (SYSV R3)

-Oz
-- 
NAME   Oz Dror, Los Angeles, California
SMAIL  dror@netcom.com
PHONE  (213) 874-7978  Fax (213) 667-6908
Technical Details
Message-ID: <drorC844K0.24r@netcom.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!swrinde!emory!news-feed-1.peachnet.edu!umn.edu!csus.edu!netcom.com!dror

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,ddc9b28f2f822e1f,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-06-04 13:33:36 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!swrinde!emory!news-feed-1.peachnet.edu!umn.edu!csus.edu!netcom.com!dror
From: dror@netcom.com (Oz Dror)
Subject: Problems in compiling xview with gcc2.3.3
Message-ID: <drorC844K0.24r@netcom.com>
Organization: NETCOM On-line Communication Services (408 241-9760 guest)
X-Newsreader: TIN [version 1.1 PL8]
Date: Fri, 4 Jun 1993 19:52:48 GMT
Lines: 27