|
From: KHMan <kei...@gm...> - 2015-05-20 10:02:47
|
On 5/20/2015 4:59 PM, Clive Crous wrote: > I'm having trouble with failed compiles not giving any output at > all (unless the input source file is completely missing). > > I've used mingw-get to install everything on my system, and it > appears that gcc/g++ simply don't output errors anymore? Is there > something I'm missing here? > > I've attached a screenshot. With a zero byte a.c, I've consistently got: $ gcc a.c e:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../libmingw32.a(main.o):(.text.startup+0xa7): undefined reference to `WinMain@16' collect2.exe: error: ld returned 1 exit status If you compile-only using -c, then the zero byte a.c gives a 406 byte a.o file. Using installed gcc 4.8.1, I didn't install everything though. -- Cheers, Kein-Hong Man (esq.) Kuala Lumpur, Malaysia |