Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond!diamond From: diamond@diamond.csl.sony.junet (Norman Diamond) Newsgroups: comp.std.c Subject: Re: I can't find a good definition anywhere... Message-ID: <10249@socslgw.csl.sony.JUNET> Date: 15 May 89 02:37:49 GMT Sender: news@csl.sony.JUNET Reply-To: diamond@csl.sony.junet (Norman Diamond) Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan Lines: 17 References: OK, most compilers will have #pragmas that can provide a non-ANSI interpretation of a program that looks like a strictly conformant program. Any compiler that claims ANSI conformance will have to be capable of ignoring such #pragmas, perhaps in a mode that is set by using flag -~P (no pragma). Bet there's only one person on the net who would use that flag ;-). Of course, such a flag isn't implemented yet, so here's a workaround: .c.o: sed -e "/^[ ]*#[ ]*pragma/d" < $*.c | $(CC) $(CFLAGS) -c -o $@ -- Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.co.jp@relay.cs.net) The above opinions are my own. | Why are programmers criticized for If they're also your opinions, | re-implementing the wheel, when car you're infringing my copyright. | manufacturers are praised for it?