Menu

#640 make output parsing problem

open
nobody
None
5
2012-09-26
2006-04-26
Anonymous
No

Dev-C++ incorrectly recognizes some make output lines
as error lines.
This incorrectly increases the "Total Errors" to the
left of the "Compiler Log".
And it prevents the "Compilation successful" notice
even if everything compiled flawlessly.
And it prevents "Compile & Run" from working, it only
compiles and stops.

I think almost every line containing a colon followed
by a space is recognized as an error line.

When you invoke $(MAKE) recursively, make will start to
output additional lines, like:

mingw32-make[1]: Entering directory E:/Programming/test' mingw32-make[1]: Nothing to be done forall'.

mingw32-make[1]: Leaving directory `E:/Programming/test'

These lines are for user orientation and no errors. But
Dev-C++ counts each of these lines as error!

Example: Makefile.Test:
(I use this for invoking Trolltech Qt's qmake and then
the generated Makefile.Release):

.PHONY: all clean
all:
qmake -project
qmake
$(MAKE) -f Makefile.Release all
clean:
$(MAKE) -f Makefile.Release clean

The sub-make will output the above mentioned lines and
these will be count as errors.
My quick fix to this problem is, to use the make
parameter --silent.

This could be the same problem as RequestID 1173892
"Compile & Run/F9 does not work if project already
compiled".

Discussion


Log in to post a comment.