wchar support :(

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all -

I'm not sure if this is a problem stemming from gcc or from libstdc++
(are these separate enteties?).

Basically, in gcc3.4.5, I have the following symbol defined:

#define _GLIBCXX_USE_WCHAR_T 1
(in c++config.h)

The symbol is NOT defined when I use gcc4.1.

Looking at c++config.h, several new defines have been introduced in
g++-v4 stdlib, but
_GLIBCXX_USE_WCHAR_T is missing.

The libstdc++ still considers the symbol several places during
preprocessing, but the net effect is that wchar support is just gone.

I believe this stems somehow from the compiler because I use the same
version of libstdc++ for both gcc4.1 and gcc3.4.5.

Anybody know of a fix for this? (It seems to me that if the symbol
_GLIBCXX_USE_WCHAR_T is defined at compilation time of libstdc++, all
will be well, but I haven't a clue how the c++config.h file is
generated).

Thanks,
 Brian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux