Bug 3845 - some lcc errors are printed to stdout
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: PC Linux
: P3 minor
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2008-11-08 09:54 EST by Ben Millwood
Modified: 2009-09-14 19:51:50 EDT
1 user (show)

See Also:


Attachments
CodeError print to stderr (459 bytes, patch)
2008-11-08 09:57 EST, Ben Millwood

Description Ben Millwood 2008-11-08 09:54:30 EST
CodeError in q3asm doesn't print to stdout.

I feel dirty after looking at the lcc code for too long, but thankfully this patch is pretty simple.
Comment 1 Ben Millwood 2008-11-08 09:57:48 EST
Created attachment 1916 [details]
CodeError print to stderr

I suspect there may be more issues like this, but they're hard to track down. The report() function seems sometimes to be used for stdout things and sometimes for stderr things.

Also in this patch I've made the file and line info print not conditional on verbose, because you nearly always want one, imo.
Comment 2 Ryan C. Gordon 2009-09-14 19:51:50 EDT
Fixed in svn revision #1600, thanks!

--ryan.