Message-ID: <3ECCD69E.60907@earthlink.net> From: Martin Ambuhl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en, de, fr, ru, el, zh MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: compiling Standard C References: <3ECC874F DOT DEAA295 AT acm DOT org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 14 Date: Thu, 22 May 2003 13:52:36 GMT NNTP-Posting-Host: 65.148.5.176 X-Complaints-To: abuse AT earthlink DOT net X-Trace: newsread1.prod.itd.earthlink.net 1053611556 65.148.5.176 (Thu, 22 May 2003 06:52:36 PDT) NNTP-Posting-Date: Thu, 22 May 2003 06:52:36 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eric Sosman wrote: > Randy Rieger wrote: > >>I forget what switches to put in the command line if I want to compile my >>code 'code.c' using ONLY standard C compiler. >>Can someone help me out with this? Thanks so much > > > Use -ansi and -pedantic, and it's a good idea to use -Wall and -W as > well. > Remember that -ansi is a synonyn for -std=c89. He may want -std=c99.