From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: implicite declaration warning? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 X-Trace: /KHlxN9MNsQ9WwZxgWXX9b5MFaFpUzZ60HY1TWQofGDzIBY0ZC4JLrowVU02TnXRK1zmWUElNCS6!LfbvXAZ5o+Z3C4QOGytmWixlFaRRU3cIFPQ8/e30dV6f57JJzKZKiwF8nBlwYEAKw3dvqmaAvXeo!LKw= X-Complaints-To: abuse AT gtei DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 07 Aug 2000 04:02:33 GMT Distribution: world Date: Mon, 07 Aug 2000 04:02:33 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 6 Aug 2000 07:51:54 +0300 (IDT), Eli Zaretskii wrote: >On Sat, 5 Aug 2000, Damian Yerrick wrote: > >> On Fri, 04 Aug 2000 12:37:34 GMT, sachsen001 AT my-deja DOT com wrote: >> >> >It's important that no warnings are reportet because the grader >> >programm of various coding contests don't accept programms that >> >produce warnings. >> >> Then make sure to use >> gcc -Wall -W -Werror -ansi -pedantic-errors >> in your command line when compiling. > >I think -ansi and -pedantic are not important for this. They might not, but the OP can't see the grader script, and the grader might not be using GCC. Several errors that show up in (for example) MSVC at default settings need -ansi -pedantic in GCC. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/