This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does --enable-clocale=gnu work on Linux/ia64?


Benjamin Kosnik <bkoz@redhat.com> writes:

>> moneypunct.cc:401: reinterpret_cast from `char*' to `wchar_t' loses precision

> Why does this work on x86 but not ia64?

sizeof (char*) and sizeof (wchar_t) are 4 on x86, but sizeo f(char*)
is 8 on ia64.  sizeof(wchar_t) is 4 in both cases.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]