Boost C++ Libraries: Ticket #6623: Build fails in MSVC 2010 with 'isspace' : is not a member of 'std' https://svn.boost.org/trac10/ticket/6623 <p> Build fails in MSVC 2010 with: </p> <p> C:\include\boost\spirit\home\support\char_encoding\standard.hpp(98) : error C2039: 'isspace' : is not a member of 'std' </p> <p> If #include &lt;locale&gt; is added after #include &lt;cctype&gt; then the following error occurs: </p> <p> c:\include\boost\spirit\home\support\char_encoding\standard.hpp(99) : error C2780: 'bool std::isspace(_Elem,const std::locale &amp;)' : expects 2 arguments - 1 provided </p> <p> So there is a locale specific version. However, it appears that there should be a non-locale specific version, especially since no other std function referenced from &lt;cctype&gt; seems to have a problem: </p> <blockquote> <p> <a class="ext-link" href="http://msdn.microsoft.com/en-us/library/f9xkk9fk.aspx"><span class="icon">​</span>http://msdn.microsoft.com/en-us/library/f9xkk9fk.aspx</a> </p> </blockquote> <p> replacing line 98 with: </p> <blockquote> <p> return ::isspace(ch); </p> </blockquote> <p> allows it to compile, but I don't know where it is pulling the function from. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6623 Trac 1.4.3 anonymous Mon, 27 Feb 2012 16:09:47 GMT component changed; owner set https://svn.boost.org/trac10/ticket/6623#comment:1 https://svn.boost.org/trac10/ticket/6623#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Joel de Guzman</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">spirit</span> </li> </ul> Ticket Joel de Guzman Mon, 27 Feb 2012 23:27:42 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6623#comment:2 https://svn.boost.org/trac10/ticket/6623#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> <p> This does not look like a Spirit bug. I suggest you discuss this over to the Spirit mailing list with a minimal cpp file that exhibits the problem, as per Spirit's support policy: </p> <p> <a class="ext-link" href="http://boost-spirit.com/home/feedback-and-support/"><span class="icon">​</span>http://boost-spirit.com/home/feedback-and-support/</a> </p> <p> I'm going to close this ticket for now. </p> Ticket