|
Re: make: *** [main.o] Error 1 [message #1228399 is a reply to message #1228199] |
Tue, 07 January 2014 06:12 |
Joost Kraaijeveld Messages: 273 Registered: July 2009 |
Senior Member |
|
|
On 06-01-14 19:24, Ajit Nair wrote:
> I saw few threads which was equivalent to my error, but i was unable to
> understand it clearly. As i am new to C++ and eclipse can any one
> explain, why this error had occured
> and my console showed as below before showing error
>
> 21:16:21 **** Incremental Build of configuration Debug for project d ****
> make all Building file: ../main.C
> Invoking: GCC C++ Compiler
> g++ -O0 -g3 -Wall -c -fmessage-length=0-std=c++11 -MMD -MP -MF"main.d"
> -MT"main.d" -o "main.o" "../main.C"
> g++: error: argument to '-fmessage-length=' should be a non-negative
> integer
> make: *** [main.o] Error 1
You forgot to put a space between the "0" from -fmessage-length=0 and
the "-" from -std=c++11 . As per error message
Joost
Cheers,
Joost
|
|
|
Powered by
FUDForum. Page generated in 0.03210 seconds