Bug #11586 2007-07-20 04:59

polygon7

[DJGPP] Build log don't catch error/warning messages...

Hi,

I'm using DJGPP compiler (port of GNU GCC and other tools to 32-bit DOS) - global compiler settings are GCC copy - and I have a problem with warnings and errors messages. They don't show in Build log (I have enabled Compiler logging -> "Full command line" and HTML log output).

System - Win2k sp4, svn build rev 4273 (17.07.2007)

-------------------------------------------------------------------------

Example source:

#include <iostream>

int main()

{

This line should show some nasty error message...

}

-------------------------------------------------------------------------

Example output:

gpp.exe -march=i586 -Os -W -IC:\djgpp\include -I. -c D:\test1\trunk\some_dir\somefile1.cpp -o obj\Release\some_dir\somefile1.o

Process terminated with status 1 (0 minutes, 0 seconds)

0 errors, 0 warnings

same text is in HTML file.

Did I missed something? Is there other option which enable/disable "compiler logging"?

If any other info is needed then please tell me and I will try to post it here.

P.S. "Text parsing expressions" catch messages without problems.

Category
Application::WrongBehaviour
Group
 
Status
Open
Close date
 
Assigned to
 
polygon7 2007-10-11 11:17

Hi,

I think it is something similar to:

[ Bug #12098 ] doesn't parse any link errors

polygon7 2008-04-16 12:56

There is a problem with catching DOS stderr by C::B

Workaround:

Create batch file gcc.cmd with following line:

gcc.exe %* 2>&1

and gpp.cmd with:

gpp.exe %* 2>&1

and then change Toolchain executables to gpp.cmd and gcc.cmd