
26 May
2006
26 May
'06
1:13 a.m.
Most obliged. Any similar trick that is applicable here? Add -D"__extension__(A)=".
I thought as much, but this leads to something more weird: [thoth]$ c2hs --cppopts='-I/usr/include/opencv -D"__asm__(A)= " -D"__attribute__(A)= " -D"__extension__(A)= "' cvWrapLEO.h Image.chs c2hs: Error in C header file. /usr/lib/gcc/x86_64-redhat-linux/4.0.2/include/xmmintrin.h:93: (column 10) [FATAL]
Syntax error! The symbol `{' does not fit here.
The code beeing referenced is: static __inline __m128 _mm_setzero_ps (void) { return __extension__ (__m128){ 0.0f, 0.0f, 0.0f, 0.0f }; } -- Ville Tirronen, University Of Jyväskylä