🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #499

predefined macros

#499
From: ALLEN
Date: Fri, 09 Feb 1990 18:47
10 lines
769 bytes
I want to use the same header file for both c and c++, so
with cfront 1.2 I did "#ifdef c_plusplus".  I am using g++-1.36.4
based on gcc-1.36.94, which defines __GNUG__, but not c_plusplus.
Is there a better sol'n than cheking for __GNUG__ and putting
off the problem of a different c++ compiler till I actually
have a different c++ compiler?

Thanks,
allen@sscvx1.ssc.gov
Michael Allen
Technical Details
Message-ID: <900209124736.20205279@SSCVX1.SSC.GOV>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!SSCVX1.SSC.GOV!ALLEN

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!SSCVX1.SSC.GOV!ALLEN
From: ALLEN@SSCVX1.SSC.GOV
Newsgroups: gnu.g++
Subject: predefined macros
Message-ID: <900209124736.20205279@SSCVX1.SSC.GOV>
Date: 9 Feb 90 18:47:36 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 10