Developer forums (C::B DEVELOPMENT STRICTLY!) > Compiler Framework Redesign

New compiler line type: cltInfo

<< < (3/5) > >>

mandrav:

--- Quote ---Never ever insert values in an enum that is exported as an int !!!!!!!!!

Gonna boot up my laptop and adjust this, the cltInfo should be the last one !!!
And even then I am not sure if all compilers will correctly adjust ???
--- End quote ---

Nice catch killerbot :).
Initialize cltNormal to 0 too, so we have predefined numbers...

MortenMacFly:

--- Quote from: killerbot on June 20, 2007, 08:50:41 am ---everybody take care, I think a serious issue might be introduced here !!
Never ever insert values in an enum that is exported as an int !!!!!!!!!

--- End quote ---
I thought that's why the compiler version was changed -> thus the settings are reset and refreshed... isn't that why Rick was asking for it?! I mean: It really works on my PC, I see the correct colouring for each type even with the enum as it is now. In the end this compiler RegEx settings use the enum, right...?! (What am I missing to understand?!)
With regards, Morten.

mandrav:

--- Quote from: MortenMacFly on June 20, 2007, 10:39:06 am ---
--- Quote from: killerbot on June 20, 2007, 08:50:41 am ---everybody take care, I think a serious issue might be introduced here !!
Never ever insert values in an enum that is exported as an int !!!!!!!!!

--- End quote ---
I thought that's why the compiler version was changed -> thus the settings are reset and refreshed... isn't that why Rick was asking for it?! I mean: It really works on my PC, I see the correct colouring for each type even with the enum as it is now. In the end this compiler RegEx settings use the enum, right...?! (What am I missing to understand?!)
With regards, Morten.

--- End quote ---

The problem is if the user decides NOT to use the new settings. His old settings will be wrong then...

MortenMacFly:

--- Quote from: mandrav on June 20, 2007, 11:24:26 am ---The problem is if the user decides NOT to use the new settings. His old settings will be wrong then...

--- End quote ---
Oh yes... stupid me... that's an issue, in fact... :oops:

rickg22:

--- Quote from: mandrav on June 20, 2007, 09:55:08 am ---Initialize cltNormal to 0 too, so we have predefined numbers...

--- End quote ---

You mean it's initialized to ONE???  :shock:

Ok, I'll update it and pump up the version (again) to 0.0.3. :P Just a last question. Should cltInfo be the second, or the last? Because in other files i assummed that cltWarning will always be greater than cltInfo.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version