|
From: Josh K. <jk...@le...> - 2010-08-25 02:02:44
|
The only advice given in that forum thread is to disable the option. I want very much for the compiler to stop on the first error. This is the output from codeblocks: -------------- Build: Release Win32 in LE3 --------------- Compiling: ..\LuaJIT-1.1.6\src\lapi.c cc1.exe: error: unrecognized command line option "-Wfatal-errors" Process terminated with status 1 (0 minutes, 0 seconds) 0 errors, 0 warnings Best Regards, Josh Klint -----Original Message----- From: Greg Chicares [mailto:gch...@sb...] Sent: Tuesday, August 24, 2010 5:42 PM To: MinGW Users List Cc: Josh Klint Subject: Re: [Mingw-users] Stop on first error? On 2010-08-24 23:51Z, Josh Klint wrote: > I am trying to get MinGW to recognize the -Wfatal-errors the codeblocks IDE > uses to make the compiler stop on the first error. However, the latest > version 5.1.6 of MinGW gives this error: > > cc1.exe: error: unrecognized command line option "-Wfatal-errors" That option is still valid with the latest gcc: http://gcc.gnu.org/onlinedocs/gcc-4.5.0/gcc/Warning-Options.html#Warning-Opt ions This seems to be a codeblocks problem. Here's a solution in French: http://www.siteduzero.com/forum-83-298807-p1-compilation-cb.html and here's an English translation: http://translate.google.com/translate?js=y&prev=_t&hl=en&ie=UTF-8&layout=1&e otf=1&u=http%3A%2F%2Fwww.siteduzero.com%2Fforum-83-298807-p1-compilation-cb. html&sl=fr&tl=en |