Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!rtech!gonzo!daniel From: daniel@gonzo.UUCP (Daniel Lanier) Newsgroups: comp.lang.c Subject: Re: Character constants Message-ID: <527@gonzo.UUCP> Date: 8 Mar 89 09:47:07 GMT References: <13068@steinmetz.ge.com> <102@servio.UUCP> <10138@socslgw.csl.sony.JUNET> <1783@dlvax2.datlog.co.uk> <217@skye.ed.ac.uk> <7447@pyr.gatech.EDU> <1113@auspex.UUCP> Reply-To: daniel@gonzo.UUCP (Daniel Lanier) Organization: Babes in the Woods Lines: 30 In article <1113@auspex.UUCP> guy@auspex.UUCP (Guy Harris) writes: >Doug Gwyn indicated that one version of a C compiler delivered by one >vendor decided that > > sizeof "this is a big fat string" > >was the same as > > sizeof (char *) > >which is simply not correct. Your simple test program may give the >wrong answer if your compiler is buggy. tick-tock, tick-tock, bing! Gould UTX 1.2 "I have here in my hand a list of 63 known compiler bugs that walk like a duck, talk like a duck, and look like a duck, and I want to know what the administration is going to do about them." Sometimes you have to name names, or at least feel a compulsive urge... Danil -- "Wiseguy, huh?"