|
From: Clive C. <cl...@cr...> - 2015-05-20 10:20:06
|
The zero byte was a simplified example. Any errors, at all, for any reason (eg missing includes, for instance) give me no output, no indication of error, no result file, nothing printed (exit code 1). Clive On Wed, 20 May 2015 at 12:03 KHMan <kei...@gm...> wrote: > 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 > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. Disregard for the list > etiquette may cause your account to be moderated. > > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > Also: mailto:min...@li...?subject=unsubscribe > |