Article View: gnu.gcc.help
Article #51759gnu-cpp concatenation
From: Stuart Anderson
Date: Mon, 12 Apr 1993 18:21
Date: Mon, 12 Apr 1993 18:21
24 lines
1061 bytes
1061 bytes
How does one concatenate strings with the gnu-cpp? Example, I would like the output of the following macro to read "calling the fortran subroutine time_" *** NOT *** "calling the fortran subroutine func" (note: the Sun cpp does this OK) #define FORTRAN(func)func\ _ calling the fortran subroutine FORTRAN(time) piped to gcc -E Is this a feature? Please email any replies to sba@astro.psu.edu Thanks -- Stuart Anderson -- sba@astro.psu.edu
Technical Details
Message-ID:
<1qcc03$gl3@genesis.ait.psu.edu>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.cac.psu.edu!astro.psu.edu!sbaShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6e490088e2db249a,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-04-12 11:28:45 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.cac.psu.edu!astro.psu.edu!sba From: sba@astro.psu.edu (Stuart Anderson) Newsgroups: gnu.gcc.help Subject: gnu-cpp concatenation Date: 12 Apr 1993 18:21:55 GMT Organization: Penn State - Dept. of Astronomy & AstroPhysics Lines: 24 Distribution: world Message-ID: <1qcc03$gl3@genesis.ait.psu.edu> NNTP-Posting-Host: nemesis.astro.psu.edu