gcc 4.2.0 wchar fix

Daniel Jacobowitz drow at false.org
Thu May 24 21:54:13 UTC 2007


On Thu, May 24, 2007 at 03:48:17PM -0600, Kevin Day wrote:
> gcc now uses _GLIBCXX_USE_WCHAR_T to check for wchar support.
> 
> This caused all c++ programs to fail to compile due to missing information.
> 
> Here is a fix that defines this in bits/wchar.h if and only if uClibc
> has its appropriate macro defined.

Why are you defining this in uClibc?  Your libstdc++ should define it
in c++config.h unless you've built it wrong somehow.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the uClibc mailing list