Xref: utzoo comp.lang.c:19767 comp.std.c:1353 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond!diamond From: diamond@diamond.csl.sony.junet (Norman Diamond) Newsgroups: comp.lang.c,comp.std.c Subject: Re: __STDC__ Message-ID: <10497@socslgw.csl.sony.JUNET> Date: 6 Jul 89 05:09:57 GMT References: <225800190@uxe.cso.uiuc.edu> <10448@smoke.BRL.MIL> <12378@bloom-beacon.MIT.EDU> Sender: news@csl.sony.JUNET Reply-To: diamond@csl.sony.junet (Norman Diamond) Followup-To: comp.lang.c Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan Lines: 19 In article <12378@bloom-beacon.MIT.EDU> scs@adam.pika.mit.edu (Steve Summit) writes: - if(strcmp(name, "__STDC__") == 0 || strcmp(name, "__LINE__") == 0 ...) - { - error("illegal re#definition of %s", name); - return ERROR; - } - -in the preprocessor. Maybe just if (strncmp(name, "__", 2)) ... After all, the name subspace beginning with "__" belongs to the implementation. -- Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.jp@relay.cs.net) The above opinions are claimed by your machine's init process (pid 1), after being disowned and orphaned. However, if you see this at Waterloo, Stanford, or Anterior, then their administrators must have approved of these opinions.