Add support for OSX in BTL and fix a few warnings

This commit is contained in:
Gael Guennebaud
2014-03-07 23:11:38 +01:00
parent ce41b72eb8
commit 33ca9b4ee6
8 changed files with 65 additions and 17 deletions

View File

@@ -46,7 +46,7 @@
#if (defined __GNUC__) && (!defined __INTEL_COMPILER) && !defined(__arm__) && !defined(__powerpc__)
#define BTL_DISABLE_SSE_EXCEPTIONS() { \
int aux; \
int aux = 0; \
asm( \
"stmxcsr %[aux] \n\t" \
"orl $32832, %[aux] \n\t" \