Boost logo

Boost :

Subject: [boost] mkl+boost problems
From: Andrey Asadchev (asadchev_at_[hidden])
Date: 2010-11-08 17:25:37


Hello.

mkl (intel blas) has "mkl_cblas.h" file which in turn includes "
mkl_types.h" file which defines P4 macro variable:

 70 /** CPU codes for int MKL_CPU_DETECT(void) **/
 71 #ifdef _IPF
 72 #define ITP 0
 73 #else
 74 #ifdef _EM64T
 75 #define NI 0
 76 #define CT 1
 77 #define MNI 2
 78 #define PNR 3
 79 #else
 80 #define DEF 0
 81 #define PIII 1
 82 #define P4 2
 83 #define P4P 3
 84 #define P4M 4
 85 #endif
 86 #endif

This P4 variable creates havoc of MPL templates which have P4 template
parameters names.

What to do?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk