[C2hs] BUG: string.h, (FC4 x86_64)

Ville Tirronen aleator at st.jyu.fi
Fri May 26 01:13:29 EDT 2006


>>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ä


More information about the C2hs mailing list