delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/29/15:55:30

From: fprintf AT iname DOT com (Stuart Hall)
Newsgroups: comp.os.msdos.djgpp
Subject: -pedantic, -ansi --> not really recommended in GNU CC/RHIDE Help?
Date: Tue, 29 Dec 1998 20:49:40 GMT
Organization: Connix - The Connecticut Internet Exchange
Lines: 23
Message-ID: <36893f93.7126974@news>
NNTP-Posting-Host: m5.aetna.com
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.5/32.452
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I was reading all about the C flags and Compiler switches in the Rhide
FAQ last night, and read the nice writeup about Pedants and their
misdirection, ;-)...  

What I wonder is, what are the useful flags to use for a newbie
programmer?  I assumed -ansi and -pedantic would be helpful in me
learning to write correct code, but after reviewing the help file it
makes me think that most of the switches are beyond my knowledge.

Any suggestions for the switches/flags to turn on for a newbie?  Or
are the defaults good enough?

Thanks in advance,
Stuart


- ratboy

aka stuarthall AT geocities DOT com
(don't be surprised if you email me and the response
comes back from here - earthling.net is just a 
forwarding service)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019