Page 1 of 1

An option to disable compilers warning

Posted: Mon Feb 11, 2013 11:59 pm
by luis
When the compiler pops out a warning we have to dismiss the window clicking on OK.
This is fine for the first 27 times. Then I would like to eradicate it using an hammer.
If the warning it's about something that's ok for you you should be able to disable it, better if only that one and better yet if only for a segment of your code.

For more info and to see how I misunderstood this initially because I was SO sure an option for that was already in place see this sad monologue -> http://www.purebasic.fr/english/viewtop ... 13&t=53144 that went on for half of the latest beta cycle.

Thank you

Re: An option to disable compilers warning

Posted: Tue Feb 12, 2013 12:30 am
by skywalk
Yeah, this is super annoying.
The Debugger Error Log shows this stuff anyway.
I say "Run Silent, Run Deep". :wink:

Re: An option to disable compilers warning

Posted: Tue Feb 12, 2013 6:56 am
by Danilo
luis wrote:When the compiler pops out a warning we have to dismiss the window clicking on OK.
The compiler does not display message boxes, it is just a console program and outputs to console.
So it must be the IDE that gives the message boxes instead of just writing to the IDE output window like all IDE's.

Re: An option to disable compilers warning

Posted: Tue Feb 12, 2013 7:02 am
by netmaestro
I agree with this request, a line in the log is all I want to see. Or at least a prefs option to suppress boxed warnings while the log would always display a line with the warning.

Re: An option to disable compilers warning

Posted: Tue Feb 12, 2013 11:55 am
by luis
Danilo wrote: The compiler does not display message boxes, it is just a console program and outputs to console.
So it must be the IDE that gives the message boxes instead of just writing to the IDE output window like all IDE's.
Yes, it's actually the IDE, I used the term compiler admittedly in a improper way to make clear it was not a debugger error (since Freak pointed that out to me in the other thread I linked). But you are of course right.

Anyway for now I've launched the IDE from a debugger monitoring the process for an access to the string "Compiler Warnings", I've located the call showing the window and ... *ZAP*.

Frankly it would be better if the window wasn't there at all, as some of you said a "line in the log" it's all that's needed.