Boost C++ Libraries: Ticket #12743: boost::filesystem in Windows fails to compare two identical paths with different case https://svn.boost.org/trac10/ticket/12743 <blockquote> <p> boost::filesystem::path a = "E:<br />temp<br />One"; boost::filesystem::path b = "E:<br />Temp<br />One"; </p> </blockquote> <blockquote> <p> if (a == b) { </p> <blockquote> <p> std::cout &lt;&lt; "Paths are identical" &lt;&lt; std::endl; </p> </blockquote> <p> } else { </p> <blockquote> <p> std::cout &lt;&lt; "Paths are different" &lt;&lt; std::endl; </p> </blockquote> <p> } </p> </blockquote> <p> This code prints "Paths are different". </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12743 Trac 1.4.3 anonymous Tue, 10 Jan 2017 14:56:46 GMT <link>https://svn.boost.org/trac10/ticket/12743#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12743#comment:1</guid> <description> <p> Formatted Code: </p> <pre class="wiki"> boost::filesystem::path a = "e:\\Temp\\One"; boost::filesystem::path b = "E:\\Temp\\One"; if (a == b) { std::cout &lt;&lt; "Paths are identical" &lt;&lt; std::endl; } else { std::cout &lt;&lt; "Paths are identical" &lt;&lt; std::endl; } </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 19 Jan 2017 19:18:53 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/12743#comment:2 https://svn.boost.org/trac10/ticket/12743#comment:2 <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 anonymous Wed, 08 Mar 2017 20:54:50 GMT <link>https://svn.boost.org/trac10/ticket/12743#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12743#comment:3</guid> <description> <p> Also an issue on windows during </p> <pre class="wiki">fs::relative("d:\1\1\1.txt", "D:\1\2"); </pre> </description> <category>Ticket</category> </item> </channel> </rss>