Hi,<div><br></div><div>I checked out the latest version of libLAS from the repository, because I also had the issue with the min and max macros, and the latest version solves this problem.</div><div><br></div><div><br></div>

<div>But I found some other problem when I compiled my program with libLAS:</div><div><br></div><div>In the &quot;schema.hpp&quot; header file there is the line</div><div><br></div><div>using namespace boost::multi_index;</div>

<div><br></div><div>When I compile, I get this error:</div><div><br></div><div>11&gt;C:\Users\long\path\name\include\liblas/schema.hpp(90): error C2872: &#39;identity&#39; : ambiguous symbol</div><div>11&gt;          could be &#39;C:\LIB\boost_1_45_0-vc100-Win32\boost/multi_index/identity.hpp(135) : boost::multi_index::identity&#39;</div>

<div>11&gt;          or       &#39;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\utility(66) : std::identity&#39;</div><div><br></div><div>I deleted the line with the &quot;using namespace...&quot; and used the fully qualified names instead, which resolved the error.</div>

<div>Somewhere in my program I most certainly have a &quot;using namespace std;&quot; in some header file, which is the perfect opportunity for me to delete it now :)</div><div><br></div><div>I was just wondering if it would be possible to avoid having this &quot;using namespace&quot; statement in the header file, as this actually beats the purpose of having namespaces... (as I have just found out...)</div>

<div><br></div><div><br></div><div>Best regards,</div><div>Claus</div>