Newsgroups: comp.std.c Path: utzoo!utgpu!watserv1!watdragon!rose!ccplumb From: ccplumb@rose.uwaterloo.ca (Colin Plumb) Subject: Re: translation phases Message-ID: <1991Feb24.045421.1586@watdragon.waterloo.edu> Sender: daemon@watdragon.waterloo.edu (Owner of Many System Processes) Organization: University of Waterloo References: <12696@darkstar.ucsc.edu> <15303@smoke.brl.mil> Date: Sun, 24 Feb 1991 04:54:21 GMT Lines: 15 >In article <12696@darkstar.ucsc.edu> daniel@terra.ucsc.edu (Daniel Edelson) writes: >>char msg[] = "\\ >>t"; gwyn@smoke.brl.mil (Doug Gwyn) wrote: > Assuming the ASCII code set, the effect of the initializer is: > msg[0] = 9; > msg[1] = 0; > > I suspect there are so-called "ANSI C" compilers in existence that > get this wrong. Just for the record, gcc gets it right. -- -Colin