| delorie.com/archives/browse.cgi | search |
| From: | Rodeo Red <rodeored AT netstep DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | -wall messages |
| Date: | Mon, 06 Mar 2000 22:43:51 -0500 |
| Organization: | Church of Evangelical Environmental Extremism |
| Lines: | 38 |
| Message-ID: | <1B04E3E8A3E99978.0AA67B6C38AFD998.3BC818F6DB8E9388@lp.airnews.net> |
| X-Orig-Message-ID: | <38C47AF7 DOT D99E3091 AT netstep DOT net> |
| Abuse-Reports-To: | support at netstep.net to report improper postings |
| NNTP-Proxy-Relay: | 204.181.96.50 |
| NNTP-Posting-Time: | Mon Mar 6 21:39:29 2000 |
| NNTP-Posting-Host: | !_Z-1-@[/Vl[qh, (Encoded at Airnews!) |
| Mime-Version: | 1.0 |
| X-Mailer: | Mozilla 4.7 [en] (Win98; I) |
| X-Accept-Language: | en |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
This simple hello world program compiles fine but when I use -wall I get
all the messages below.
If these aren't warning messaes what are they ?
I thought warning messages would say "warning" on them.
Is there any other way to turn on warning messages besides "- wall" ?
Is djgpp the same compiler they mean when they say "gcc" ? Why does
everyone else seem to use gcc as a command line but I have to use gpp ?
--Red
#include <iostream>
using namespace std;
int main()
{
cout<< "hello world";
return 0;
}
r.exe(.text+0x1ec):crt0.s: multiple definition of `__exit'
c:/djgpp/lib/crt0.o(.text+0x1ec):crt0.s: first defined here
r.exe(.text+0x2d0):crt0.s: multiple definition of `__sbrk'
c:/djgpp/lib/crt0.o(.text+0x2d0):crt0.s: first defined here
r.exe(.text+0x4b4):crt0.s: multiple definition of `_crt0_init_mcount'
c:/djgpp/lib/crt0.o(.text+0x4b4):crt0.s: first defined here
r.exe(.text+0x2e8):crt0.s: multiple definition of `__brk'
c:/djgpp/lib/crt0.o(.text+0x2e8):crt0.s: first defined here
r.exe(.text+0x0):crt0.s: multiple definition of `start'
c:/djgpp/lib/crt0.o(.text+0x0):crt0.s: first defined here
r.exe(.text+0x4c4):crt0.s: multiple definition of `main'
c:/djgpp/tmp\ccI2l2FL.o(.text+0xc):C:\C++\C++PrimerPlus\CPPPRIMER3E\41.cpp:
first defined here
collect2: ld returned 1 exit status
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |