Warning Level

Working on new editor enhancements?
User avatar
Josh
Addict
Addict
Posts: 1184
Joined: Sat Feb 13, 2010 3:45 pm

Warning Level

Post by Josh »

In the Preferences and Compiler Options I can make settings for the 'Warning Level':
  • File > Preferences > Debugger > Choose Warning Level
  • Compiler > Compiler Options > Compile/Run > Use Warning mode
Does this have anything to do with the warning I get with the command CreateGadgetList(0)? I can change all the above settings, but nothing changes.

What do I really set with this?
sorry for my bad english
User avatar
Derren
Enthusiast
Enthusiast
Posts: 305
Joined: Sat Jul 23, 2011 1:13 am
Location: Germany

Re: Warning Level

Post by Derren »

I tried with this code

Code: Select all

LoadImage(0, "c:\bild.bmp") ;this file doesn't exist, obviously
This gets either no marking at all (ignore warnings)
Gets a blue-backed "!" next to the line number (blue is dependent on the color settings, it may be yellow or whatever depending on your color scheme)
Gets an error blob next to the line number and the programm halts with an error warning in the "status box" (lower part of the IDE).

CreateGadgetList() is a depracated function and should be removed. This is a different type of warning.
User avatar
Josh
Addict
Addict
Posts: 1184
Joined: Sat Feb 13, 2010 3:45 pm

Re: Warning Level

Post by Josh »

All right, I was thinking too complicated :D

I used CreateGadgetList() because it is the only function I could think of that opens this warning window.

Thanks
sorry for my bad english
Post Reply