Fix T46799: Blender crashes when enumerating POCL devices
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Nov 2015 09:48:26 +0000 (14:48 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Nov 2015 09:48:26 +0000 (14:48 +0500)
The issue was caused by a conflict between std::error_code linked into
Blender which is compiled without C++11 support and POCL's expectations
of std::error_code which was actually linked against C++11's STL.

source/creator/blender.map

index 359cbe0415f20888ca0deaa1442a35a57cfe52b9..9c900a62705e4062664ce68e53810e6c9c339199 100644 (file)
@@ -9,6 +9,7 @@ global:
        *;
        *_boost*;
 local:
+       *default_error_condition*;
        *llvm*;
        *LLVM*;
        decodeInstruction;