Author |
Topic |
|
dodudo7
Ketchup Master
Israel
55 Posts |
Posted - Jun 11 2007 : 12:15:15 PM
|
Please note in the attached image, the definition of local struct variables is colored as if it was a type (blue instead of bold gray). Also, when using the structs, they are now colored as members (gray) instead of local (bold gray).
Originally I observed this behaviour with winsock structs, but later I found that this happens with any struct.
This issue is only appearing in C style code. Dropping the struct keyword (C++) fixes the coloring.
|
Edited by - dodudo7 on Jun 11 2007 12:19:28 PM |
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Jun 11 2007 : 2:26:04 PM
|
I am seeing the same effect here. Thank you for the clear description.
case=6567
Are you able to remove the "struct" keyword as you work on the code, or are you compiling the code as C? Obviously removing the keyword would "fix" the problem, until we fix VAX. |
zen is the art of being at one with the two'ness |
|
|
dodudo7
Ketchup Master
Israel
55 Posts |
Posted - Jun 11 2007 : 2:43:59 PM
|
Most of my code is C++, so removing the struct keyword is possible, although I usually prefer not touching old legacy code when this is not a must.
|
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Jun 12 2007 : 08:14:24 AM
|
That makes a lot of sense. Unfortunately I don't know of any work around for this that you can use without editing the code. |
zen is the art of being at one with the two'ness |
|
|
dodudo7
Ketchup Master
Israel
55 Posts |
Posted - Jun 12 2007 : 1:24:00 PM
|
That's OK. If you are now aware of this issue, it will probably be fixed in one of the future builds and that's good enough.
p.s. Build 1557 looks like a really successful build. A am using it for about 10 day and besides this relatively minor coloring issue, this version works like a charm. Good job, guys! |
|
|
|
Topic |
|