T O P I C R E V I E W |
ressity |
Posted - Dec 28 2011 : 06:58:39 AM I think there's a bug in the "No Suggestion Highlighted when Defining a Symbol" feature (C++). Visual Assist confuse the const modifier with a type name and doesn't highlight a suggestion for the actual type that follows it.

|
4 L A T E S T R E P L I E S (Newest First) |
ressity |
Posted - Dec 31 2011 : 06:17:46 AM quote: Originally posted by accord
extern and static work for me
My mistake. They work for me too. |
accord |
Posted - Dec 30 2011 : 8:44:04 PM I am seeing the same effect for volatile and register (I have added comment to the case) but extern and static work for me. e.g. if I type "extern v", I got the following result:
 |
ressity |
Posted - Dec 30 2011 : 10:02:27 AM quote: Originally posted by accord
This not strictly a bug since "const foo=5;" is accepted by older compilers. (defaults to int)
You're right, but that's hardly used these days and it's not supported by the standard since the 90s (IIRC)
The same goes for volatile, static, register, and extern by the way.
|
accord |
Posted - Dec 29 2011 : 9:55:25 PM I have put in a feature request for this:
case=63672
This not strictly a bug since "const foo=5;" is accepted by older compilers. (defaults to int) |