ggandda / simd-cxx

Automatically exported from code.google.com/p/simd-cxx
0 stars 0 forks source link

Fixed libSimD compilation errors on Windows #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

The following patch to src/boost/detail/pipe.hpp fixes compilation errors on 
Window platforms.  (It still doesn't link yet.  Need to fix 
FindOpenSplice.cmake later.)

Also fixed, changed a deprecated call in the linux build path in the same file. 
 (get_system_category() is deprecated.  Should use system_category() instead.)

Original issue reported on code.google.com by nan...@gmail.com on 23 Dec 2010 at 3:32

Attachments:

GoogleCodeExporter commented 8 years ago
Some more additional information regarding to use "system_category()".

Obviously, in the newer version of boost, the function 
boost::system::get_system_category() defined in boost/system/error_code.hpp is 
renamed to boost::system::system_category().  I have 1.44 and 1.40 on two 
different boxes and the 1.44 has the newer name while 1.40 uses the older name.

Original comment by nan...@gmail.com on 23 Dec 2010 at 8:10

GoogleCodeExporter commented 8 years ago
I confirm that this patch is needed for Boost versions >= 1.44.
For a rational see changes to the system lib 
http://www.boost.org/users/news/version_1_44_0;
"Change system_category and generic_category to functions, to conform to the 
C++0x FCD. This change may cause compile errors some user code; the fix is add 
"()" to references to system_category and generic_category, so that they become 
function calls."

However the patch does not work for Boost versions <= 1.43.
I attached a patch that works for all (well I tested 1.40, 1.43, 1.44 and 1.45) 
versions of Boost.

Original comment by okko.wil...@gmail.com on 30 Dec 2010 at 12:08

Attachments:

GoogleCodeExporter commented 8 years ago
This patch fixes problems i have had in visual studio 2010

Original comment by aldeb...@gmail.com on 30 Mar 2011 at 8:57

GoogleCodeExporter commented 8 years ago
Boost/process is no longer part of SimD.   So  the bug is no longer valid.  

Original comment by nan...@gmail.com on 23 May 2011 at 4:54