|SSE intrinsics and intellesense not working [message #883136]
||Thu, 07 June 2012 22:30
| Tim W
Registered: June 2012
I have a question regarding the eclipse c++ toolkit. it seems to be working great but i'm having some issues with the autocomplete/intellisense technology. as a simple example im trying to use sse intrisnics in the simplest way
m = _mm_setzero_ps();
this example i added the -msse2 compiler flag and this compiles perfectly, however the intellisense/autocomplete still doens't recgonize the types or functions in the header.
In an attempt to fix this i manually added the __SSE__ and __MMX__ includes to the c++ preprocessor. this had the effect of changing the highlighing in the #if/#else paths of the header xmmintrin.h to the correct branches. ie it highlights the choices the preprocessor is currently taking. i figured this would clear up the issue because it seemed to be modifying how the intellisense/autocomplete was viewing the header files(ie highlighting the correct path instead of the incorrect one)
still though, it's not working. any suggestions? it compiles fine and i know i can just ignore the red squigglies but i really want to learn to set it up properly for the type of work i'll be doing with it in the future.
Thanks for all your time!
Powered by FUDForum
. Page generated in 0.02425 seconds