help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make gives exit status of 0 even when compile fails


From: David Aldrich
Subject: make gives exit status of 0 even when compile fails
Date: Mon, 23 Nov 2009 11:00:43 +0000

Hi
 
We are running GNU make 3.81 on Centos Linux.
 
I find that our make system returns an exit status of 0 even though a file fails to compile.
 
make --stop -d
 
gives the following snippet:
 
Must remake target `_gnuRelease/CdfDialog.o'.
Putting child 0x0b5ed9d0 (_gnuRelease/CdfDialog.o) PID 27900 on the chain.
Live child 0x0b5ed9d0 (_gnuRelease/CdfDialog.o) PID 27900
g++ -c -Wall -m64 -march=athlon64 -mtune=athlon64 -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXUSINGDLL -fno-strict-aliasing -pthread -fpic -O3 CdfDialog.cpp -o _gnuRelease/CdfDialog.o
CdfDialog.cpp:23: error: '#pragma' is not allowed here
CdfDialog.h:25: error: expected declaration before end of line
Reaping winning child 0x0b5ed9d0 PID 27900
Removing child 0x0b5ed9d0 PID 27900 from chain.
    Successfully remade target file `_gnuRelease/CdfDialog.o'.
 
I can find no mention of IGNORE in the makefiles. Please can someone suggest
why make is reporting success and how I can stop it doing so?
 
Best regards
 
David
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]