Xref: utzoo gnu.gcc:272 comp.os.vms:12657 comp.lang.c:16965 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!munnari!mimir!hugin!augean!sirius!eco!nt!levels!ccdn From: ccdn@levels.sait.edu.au (DAVID NEWALL) Newsgroups: gnu.gcc,comp.os.vms,comp.lang.c Subject: Re: Problems with GCC and/or VAX LINK Message-ID: <1732@levels.sait.edu.au> Date: 14 Mar 89 17:57:38 GMT References: <18426@iuvax.cs.indiana.edu> Organization: Sth Australian Inst of Technology Lines: 30 ccdn@levels.sait.edu.au (DAVID NEWALL) <1680@levels.sait.edu.au> : > 1. GCC doesn't allow mismatched quotation marks. For example: > /* this isn't going to work */ > doesn't compile because the comment has a single quotation mark. ***** FLAME ON ***** GCC does NOT complain about mismatched quotation marks in *comments*. It does complain about them in `#ifdef 0'd code. The example should have been: #ifdef 0 This isn't going to work #endif So there! ***** FLAME OFF ***** I got confused. Sorry. Mind you, this is still a problem. A program section which is conditionally _not_ compiled should be treated like a comment -- it shouldn't matter what's inside the #ifdef/#endif. David Newall Phone: +61 8 343 3160 Unix Systems Programmer Fax: +61 8 349 6939 Academic Computing Service E-mail: ccdn@levels.sait.oz.au SA Institute of Technology Post: The Levels, South Australia, 5095