sp_counted_base_sync.hpp on ia64/intel-compiler needs ia64intrin.h
When building boost on ia64 platform with intel compiler, I get compiler errors due to undefined '__sync_val_compare_and_swap'.
In the intel compiler documentation, it says to include 'ia64intrin.h' for these synchronization primatives. I have verified that adding the include solves the problem, and I am attaching a patch.
I am using Intel Compiler version 10.1, and the header exists at least as far back as 8.1.
P.S: FYI, during compilation, having configured with default options, I get the following "remark":
icpc: command line remark #10010: option '-Ob' is deprecated and will be removed in a future release. See '-help deprecated'
patch