problems with FFI including h files

Sven Moritz Hallberg pesco@gmx.de
Fri, 31 May 2002 23:07:02 +0200


On Friday 31. May 2002 22:47, Hal Daume III wrote:
> [...]
> /nfs/isd/hdaume/download/ATLAS/include/cblas.h:591: parse error before
> numeric constant
>
>
> if I look at cblas.h, line 444 is the last line of this definition:
>
> void cblas_sgemm(const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPO=
SE
> TransA,
>                  const enum CBLAS_TRANSPOSE TransB, const int M, const =
int
> N,
>                  const int K, const float alpha, const float *A,
>                  const int lda, const float *B, const int ldb,
>                  const float beta, float *C, const int ldc);

Just a guess, GHC somewhere #define's beta to a numeric constant? Can you=
 tell=20
GHC to dump the preprocessed C code and see what the line in question=20
becomes?