<div dir="ltr"><div><span class="">Hi Adam, <br><br></span></div><span class=""></span><div><div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></span><div class="gmail_extra"><div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">
<br></span>
I&#39;m curious, what problems exactly did you face and when?<br>
<br></blockquote><div><br></div><div>The problems arose while compiling the minimal example from the get started tutorial. <br><span class="">Below I pasted some compiler (Clang-Cl.exe) output. It has all to do with MSVC compiler bugs workarounds.<br></span><span class=""></span><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Is that correct that in this setup (MSVS + Clang) BOOST_CLANG is defined and BOOST_MSVC is NOT defined?<br>
<br>
</blockquote><div><br></div><div>I&#39;ve added these directives to the code:<br><br>#if !defined(__clang__)<br>#error __clang__ not defined.<br>#endif<br><br>#if !defined(_MSVC_VER)<br>#error _MSVC_VER not defined.<br>#endif<br><br>#if !defined(BOOST_CLANG)<br>#error BOOST_CLANG not defined.<br>#endif<br><br>#if !defined(BOOST_MSVC)<br>#error BOOST_MSVC not defined.<br>#endif<br><br></div><div>The compiler output is as follows:<br><br>1&gt;------ Rebuild All started: Project: test, Configuration: Debug x64 ------<br>1&gt;  In file included from test.cpp:14:<br>1&gt;  In file included from z:\vc\x64\include\boost/geometry.hpp:22:<br>1&gt;  In file included from z:\vc\x64\include\boost/geometry/geometry.hpp:50:<br>1&gt;  In file included from z:\vc\x64\include\boost/geometry/strategies/strategies.hpp:85:<br>1&gt;  In file included from z:\vc\x64\include\boost/geometry/strategies/transform/matrix_transformers.hpp:40:<br>1&gt;  In file included from z:\vc\x64\include\boost/numeric/ublas/vector.hpp:21:<br>1&gt;  In file included from z:\vc\x64\include\boost/numeric/ublas/storage.hpp:26:<br>1&gt;  In file included from z:\vc\x64\include\boost/numeric/ublas/traits.hpp:29:<br>1&gt;  In file included from z:\vc\x64\include\boost/typeof/typeof.hpp:124:<br>1&gt;z:\vc\x64\include\boost/typeof/msvc/typeof_impl.hpp(150,31): error : template specialization or definition requires a template parameter list corresponding to the nested type &#39;base_type&#39; (aka &#39;msvc_extract_type&lt;ID&gt;&#39;)<br>1&gt;              struct base_type::id2type // This uses nice VC6.5 and VC7.1 bugfeature<br>1&gt;                     ~~~~~~~~~  ^<br>1&gt;z:\vc\x64\include\boost/typeof/msvc/typeof_impl.hpp(150,20): error : nested name specifier for a declaration cannot depend on a template parameter<br>1&gt;              struct base_type::id2type // This uses nice VC6.5 and VC7.1 bugfeature<br>1&gt;                     ^~~~~~~~~~~<br>1&gt;test.cpp(733,2): error : _MSVC_VER not defined.<br>1&gt;  #error _MSVC_VER not defined.<br>1&gt;   ^<br>1&gt;test.cpp(741,2): error : BOOST_MSVC not defined.<br>1&gt;  #error BOOST_MSVC not defined.<br>1&gt;   ^<br>1&gt;  4 errors generated.<br>========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========<br><br></div><div>So somehow things get mingled it seems.<br><br></div><div>Looking forward to your analysis. Have a good day,<br><br></div><div>degski</div></div>
</div></div></div></div>