Boost logo

Boost-Build :

From: John Maddock (john_at_[hidden])
Date: 2006-02-02 14:08:14


> Or, more to the point:
>
> $ g++ -c jmTest.cc -o jmTest.o
> jmTest.cc: In function 'int main()':
> jmTest.cc:5: error: no match for call to '(std::locale) (const char
> [2], const char [2])'

!!! My mistake, this one does work:

#include <locale>
int main()
{
  std::locale l;
  bool b = l(std::string("a"), std::string("A"));
  return b;
}

Hopefully that will tell you if libstdc++ is working OK: it certainly should
be, but I can't think of anything else right now.

John.


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk