Article View: comp.std.c++
Article #1350Re: stringize preprocessing operator?
From: Mark Harrison
Date: Thu, 21 Jan 1993 21:10
Date: Thu, 21 Jan 1993 21:10
17 lines
1245 bytes
1245 bytes
In article <1993Jan19.181741.4779@taumet.com> steve@taumet.com (Steve Clamage) writes: > >Preprocessing in C++ is supposed to be the same as in Standard C >(except for // comments). The ARM tries to say that, and the >C++ Standard will make it so. > >Are you sure the Lucid compiler does not provide full Standard C >preprocessing in C++ mode? Perhaps the manual is a bit misleading. It turns out there are two C++ modes, -XF (ARM compatible) and -Xf (cfront 2.1 compatible). -XF uses ansi style preprocessing, while -Xf uses K&R style. The preprocessing style can be specified by using -XAp for ansi preprocessing and -XKp for K&R style. Jerry Schwartz (jss@lucid.com) was kind enough to point this out to me. -- Mark Harrison, mharriso@dsccc.com
Technical Details
Message-ID:
<1993Jan21.211042.6054@digi.lonestar.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!mharrisoReferences:
<1993Jan18.192417.16933@digi.lonestar.org> <1993Jan19.181741.4779@taumet.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!mharriso From: mharriso@digi.lonestar.org (Mark Harrison) Newsgroups: comp.std.c++ Subject: Re: stringize preprocessing operator? Message-ID: <1993Jan21.211042.6054@digi.lonestar.org> Date: 21 Jan 93 21:10:42 GMT References: <1993Jan18.192417.16933@digi.lonestar.org> <1993Jan19.181741.4779@taumet.com> Organization: DSC Communications Corp, Plano, TX Lines: 17