
9 Nov
2010
9 Nov
'10
4:46 p.m.
On 11/9/2010 10:14 AM, Andrey Asadchev wrote:
My fix is:
#ifndef BOOST_NUMERIC_BINDINGS_CBLAS_INC_H #define BOOST_NUMERIC_BINDINGS_CBLAS_INC_H
extern "C" {
#ifdef BOOST_NUMERIC_BINDINGS_MKL #include<mkl_cblas.h> #include<mkl_service.h>
#ifdef P4
#undef P4 // mkl_types.h defines P4 macro which breaks MPL
#endif
#else #include<cblas.h> #endif
}
#endif
That way if/when mkl_cblas.h fixes their #define it will not break your header. KevinH -- Kevin Heifner heifner @ ociweb.com http://heifner.blogspot.com Object Computing, Inc. (OCI) www.ociweb.com