T O P I C R E V I E W |
origonwaltz |
Posted - Jun 05 2013 : 1:15:42 PM Hi,
I use Intel Cilk and Intel array notations quite a lot. Array notations seem to behave without showing up errors, but VAX keep underlining code using cilk as if these were errors.
Example:
cilk_for( int y = 0 ; y < height ; ++y ) { DoThingsWithY( y ); }
VAX will underline cilk_for, as well as int y as errors. It says:
Error: identifier "_Cilk_for" is undefined (cilk_for is a #define for _Cilk_for).
I suggest support for these.
Best regards |
5 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jun 10 2013 : 10:51:20 AM You can also try adding _Cilk_for to the "usertype.dat" file, which is used to add custom keywords to the IDE:
http://docs.wholetomato.com?W148 |
accord |
Posted - Jun 06 2013 : 4:38:56 PM Visual Assist underlines only spelling errors in comments with VS2012 and has a separate parser from default intellisense.
But just to double check, next time this happens, can you please try disabling Visual Assist temporarily to see if it makes any difference?
VAssistX -> Enable / Disable Visual Assist X
|
acarette |
Posted - Jun 06 2013 : 08:40:40 AM Screw this, I replied too fast.
Disabling the squiggles thing removes most of the red underlines but there are still a random red underline under the first parenthesis of the for loop statement.
It must be because the system does not recognizes the _Cilk_for symbol...
I use visual studio 2012 with intel composer XE 2013. |
acarette |
Posted - Jun 06 2013 : 08:33:36 AM This fixes the problem, I had no idea these options were available.
Thanks! |
accord |
Posted - Jun 05 2013 : 6:33:45 PM Which Visual Studio version are you using? In VS2010 and VS2012, the IDE has a similar mechanism, which it controlled via the following setting:
Tools -> Options... -> Text Editor -> C/C++ -> Advanced -> Disable Squiggles
Can you please try if setting the above to "true" makes any difference? |