Boost C++ Libraries: Ticket #9598: no operator found which takes a left-hand operand of type 'boost::filesystem::directory_iterator' https://svn.boost.org/trac10/ticket/9598 <p> Hi, </p> <p> I'm working with the Boost C++ library since a long time and suddenly I got stranges error when I compile my software with Visual Studio 2012 (in debug 64 bits). I have absolutely no idea of the problem and the "output" does not really help me. </p> <p> Here are the kind of errors I got (the output): </p> <p> _libraries\lib_Boost\boost/iterator/iterator_facade.hpp(847): error C2059: syntax error : ',' </p> <p> And the following one too : </p> <p> I'm working with the Boost C++ library since a long time and suddenly I got stranges error when I compile my software with Visual Studio 2012 (in debug 64 bits). I have absolutely no idea of the problem and the "output" does not really help me. </p> <p> Here are the kind of errors I got (the output): </p> <pre class="wiki">_libraries\lib_Boost\boost/iterator/iterator_facade.hpp(847): error C2059: syntax error : ',' </pre><p> And the following one too : </p> <pre class="wiki">_libraries\lib_Boost\boost/filesystem/operations.hpp(798): error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'boost::filesystem::directory_iterator' (or there is no acceptable conversion) _libraries\lib_Boost\boost/filesystem/path.hpp(621): could be 'bool boost::filesystem::operator !=(const boost::filesystem::path &amp;,const boost::filesystem::path &amp;)' _libraries\lib_Boost\boost/filesystem/path.hpp(622): or 'bool boost::filesystem::operator !=(const boost::filesystem::path &amp;,const boost::filesystem::path::string_type &amp;)' _libraries\lib_Boost\boost/filesystem/path.hpp(623): or 'bool boost::filesystem::operator !=(const boost::filesystem::path::string_type &amp;,const boost::filesystem::path &amp;)' _libraries\lib_Boost\boost/filesystem/path.hpp(624): or 'bool boost::filesystem::operator !=(const boost::filesystem::path &amp;,const boost::filesystem::path::value_type *)' _libraries\lib_Boost\boost/filesystem/path.hpp(625): or 'bool boost::filesystem::operator !=(const boost::filesystem::path::value_type *,const boost::filesystem::path &amp;)' while trying to match the argument list '(boost::filesystem::directory_iterator, boost::filesystem::directory_iterator)' </pre><p> Does someone has an idea that can help me to find the reason of theses errors ? Is there some compilation options that can help to find the problem ? </p> <p> I only have theses 2 errors (a lot of time !!) </p> <p> Feel free to contact me by email... I'm also available through Skype. </p> <p> Thanks </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9598 Trac 1.4.3 anonymous Wed, 22 Jan 2014 08:30:02 GMT <link>https://svn.boost.org/trac10/ticket/9598#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9598#comment:1</guid> <description> <p> BTW, </p> <p> It is impossible to provide a small "repro" because the software is really too big and I don't have (yes, it is legal stuffs) to provide the full source code ! </p> <p> But, I can allow someone to take control of my machine over the internet (by example with <a class="missing wiki">TeamViewer</a>, it is free) ... it will be faster and efficient (Just a few seconds to see the problems and start looking at it !) </p> </description> <category>Ticket</category> </item> <item> <author>krys@…</author> <pubDate>Wed, 22 Jan 2014 08:42:43 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/9598 https://svn.boost.org/trac10/ticket/9598 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_log.zip</span> </li> </ul> <p> Compiler output </p> Ticket anonymous Wed, 22 Jan 2014 12:01:22 GMT <link>https://svn.boost.org/trac10/ticket/9598#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9598#comment:2</guid> <description> <p> Hi, </p> <p> The problem is fixed. </p> <p> It seems to me that it is the VS2012 compiler that drives crazy ! </p> <p> <strong>Please, close this ticket.</strong> </p> <p> Thanks </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 26 Feb 2014 21:30:13 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/9598#comment:3 https://svn.boost.org/trac10/ticket/9598#comment:3 <ul> <li><strong>owner</strong> set to <span class="trac-author">Beman Dawes</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">filesystem</span> </li> </ul> Ticket