Article View: comp.std.c
Article #4775A question about: #define
From: Torbj|rn T|rnkvist
Date: Mon, 12 Feb 1996 09:02
Date: Mon, 12 Feb 1996 09:02
22 lines
1185 bytes
1185 bytes
I'm wondering if the following preprocessor directive is permissible in ANSI C ? #define A #define B I couldn't see from from my Harbison,Steele, "A C Reference Manual", if it is ok or not (gcc -ansi -pedantic accept this but the Sun ANSI-C compiler does not...). Thanx ! /Torbjörn , tobbe@erix.ericsson.se -- +-------------------------------------------------+ | Torbjörn Törnkvist , tel: +46 8 727 39 28 | | email: tobbe@erix.ericsson.se | | WWW: http://www.ericsson.se/cslab/erlang | | smail: ELLEMTEL , Computer Science Laboratory | | Box 1505 , S-125 25 Älvsjö | | SWEDEN | +-------------------------------------------------+
Technical Details
Message-ID:
<qug2cgc3xo.fsf@chivas.eua.ericsson.se>Path:
arc1-ca.pugleaf.net!eua.ericsson.se!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!eua.ericsson.se!usenet From: tobbe@erix.ericsson.se (Torbj|rn T|rnkvist) Newsgroups: comp.std.c Subject: A question about: #define Date: 12 Feb 1996 10:02:11 +0100 Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden Sender: tobbe@chivas.eua.ericsson.se Message-ID: <qug2cgc3xo.fsf@chivas.eua.ericsson.se> NNTP-Posting-Host: chivas.eua.ericsson.se NNTP-Posting-User: tobbe X-Newsreader: Gnus v5.1