From: dontmailme AT iname DOT com (Steamer) Newsgroups: comp.os.msdos.djgpp Subject: Re: compile despite warnings Date: Fri, 09 Jun 2000 11:49:09 GMT Organization: always disorganized Lines: 17 Message-ID: <3940d9a6.14039291@news.freeserve.net> References: <3940573D DOT E2F4270F AT ne DOT infi DOT net> NNTP-Posting-Host: modem-119.singapore-angel.dialup.pol.co.uk X-Trace: newsg4.svr.pol.co.uk 960551350 1513 62.136.220.119 (9 Jun 2000 11:49:10 GMT) NNTP-Posting-Date: 9 Jun 2000 11:49:10 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Martell wrote: > when i use gcc to compile my source, if it encounters a warning, it wont > compile, how would i invoke gcc, and with what options, to force it to > finish > compile despite warnings? > > as of right now i do this: > gcc mysource.cc -o prog.exe You are trying to compile a C++ program with the C compiler. Try gxx mysource.cc -o prog.exe instead. S.