error when building trunk rev. 190799

niXman i.nixman@gmail.com
Thu Aug 30 13:37:00 GMT 2012


Hello,

I'm not sure about such errors should be reported, but I will try.

Host compiler: gcc-4.7.1-MinGW-x86_64


x86_64-w64-mingw32-g++ -c   -O2 -pipe -fomit-frame-pointer
-momit-leaf-frame-pointer -DIN_GCC   -fno-exceptions -fno-rtti -W
-Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-Igcc-trunk/gcc -Igcc-trunk/gcc/. -Igcc-trunk/gcc/../include
-Igcc-trunk/gcc/../libcpp/include -I/mingw-gcc-trunk-libs-x64/include
-I/mingw-gcc-trunk-libs-x64/include
-I/mingw-gcc-trunk-libs-x64/include  -Igcc-trunk/gcc/../libdecnumber
-Igcc-trunk/gcc/../libdecnumber/bid -I../libdecnumber
gcc-trunk/gcc/ggc-common.c -o ggc-common.o
gcc-trunk/gcc/ggc-common.c: In function 'int gt_pch_note_object(void*,
void*, gt_note_pointers, gt_types_enum)':
gcc-trunk/gcc/ggc-common.c:326:49: error: cast from 'void*' to 'long
int' loses precision [-fpermissive]
gcc-trunk/gcc/ggc-common.c: In function 'void
gt_pch_note_reorder(void*, void*, gt_handle_reorder)':
gcc-trunk/gcc/ggc-common.c:359:44: error: cast from 'void*' to 'long
int' loses precision [-fpermissive]
gcc-trunk/gcc/ggc-common.c: In function 'hashval_t
saving_htab_hash(const void*)':
gcc-trunk/gcc/ggc-common.c:370:10: error: cast from 'void*' to 'long
int' loses precision [-fpermissive]
gcc-trunk/gcc/ggc-common.c: In function 'void relocate_ptrs(void*, void*)':
gcc-trunk/gcc/ggc-common.c:443:45: error: cast from 'void*' to 'long
int' loses precision [-fpermissive]
gcc-trunk/gcc/ggc-common.c: In function 'void write_pch_globals(const
ggc_root_tab* const*, traversal_state*)':
gcc-trunk/gcc/ggc-common.c:472:42: error: cast from 'void*' to 'long
int' loses precision [-fpermissive]
make[2]: *** [ggc-common.o] Error 1



-- 
Regards,
niXman
___________________________________________________
Dual-target(32 & 64 bit) MinGW compilers for 32 and 64 bit Windows:
http://sourceforge.net/projects/mingwbuilds/



More information about the Gcc mailing list