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


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

Problem with --enable-clocale=gnu on 64-bit systems



Building GCC 3.0 on Alpha and ia64 systems, I get the following error
when I configure with --enable-clocale=gnu (this works on 32-bit
systems like ppc and ia32):

/usr/src/packages/BUILD/gcc/obj-ia64-suse-linux/gcc/xgcc -B/usr/src/packages/BUILD/gcc/obj-ia64-suse-linux/gcc/ -nostdinc++ -L/usr/src/packages/BUILD/gcc/obj-ia64-suse-linux/ia64-suse-linux/libstdc++-v3/src -L/usr/src/packages/BUILD/gcc/obj-ia64-suse-linux/ia64-suse-linux/libstdc++-v3/src/.libs -B/opt/experimental/ia64-suse-linux/bin/ -B/opt/experimental/ia64-suse-linux/lib/ -isystem /opt/experimental/ia64-suse-linux/include -nostdinc++ -I../../../../libstdc++-v3/include -I../../../../libstdc++-v3/include/std -I../../../../libstdc++-v3/include/c_std -I../include -I../../../../libstdc++-v3/libsupc++ -I../libio -I../../../../libstdc++-v3/libio -I../../../../libstdc++-v3/libmath -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c c++locale.cc  -fPIC -DPIC -o .libs/c++locale.o
c++locale.cc: In member function `void 
   std::numpunct<_CharT>::_M_initialize_numpunct(__locale_struct*) [with _CharT 
   = wchar_t]':
c++locale.cc:104: reinterpret_cast from `char*' to `wchar_t' loses precision
c++locale.cc:105: reinterpret_cast from `char*' to `wchar_t' loses precision
make[4]: *** [c++locale.lo] Error 1

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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