🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52251

Macro space and definitions.

#52251
From: citrit
Date: Fri, 11 Dec 1992 07:07
35 lines
1617 bytes
Hello gcc world,

  I am having a problem using gcc to compile some source with a lot of macro 
definitions on a IBM rs/6000 running AIX 3.2.1.  All the patches are in place
that are specified by the gcc compiler.

  In the source the include files create a greate deal of macros.  Once they
are defined they are called and the preprocessor reports this error:

compiling file: display_data.c
In file included from /distrib/src/display/display_data.c:245:
/distrib/src/display/display_data.cls:426: parse error before `points'

where the source is:



/*
 * All macros defined, now invoke them
 */

DD_GET_NO_THINGS(points)  /* line 426 of cls file*/



Then I get a great number of syntax errors.  This module compiles on a Sun4 
OS4.1.2  and will also compile using the AIX compiler but when I link all the 
other modules ld reports a TOC error.  Any suggestions would be greatly
appreciated.  Thanks.

Thomas D. Citriniti			Rensselaer Polytechnic Institute
Engineering Computing Services		Graphics Application Programmer
Center for Industrial Innovation	(518) 276-2606
citrit@rpi.edu
Technical Details
Message-ID: <9212111707.AA19807@localhost>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rpi.edu!citrit

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,4eb4afeea43748ee,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-12-11 09:19:58 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rpi.edu!citrit
From: citrit@rpi.edu
Subject: Macro space and definitions.
Message-ID: <9212111707.AA19807@localhost>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 11 Dec 1992 07:07:01 GMT
Lines: 35