vec.h error: "more than one instance of function matches the argument list"

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

 



Hi all,

Trying to compile gcc 4.8.1, 4.8.2 or 4.9.0 produces the following error:

------------------

/warwick/intel/composer_xe_2013/bin/icpc -c   -g -DIN_GCC
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-fno-common  -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/../include -I../../gcc/../libcpp/include
-I/home/theory/phrlaq/gcc-4.8.2/objdir/./gmp
-I/home/theory/phrlaq/gcc-4.8.2/gmp
-I/home/theory/phrlaq/gcc-4.8.2/objdir/./mpfr
-I/home/theory/phrlaq/gcc-4.8.2/mpfr
-I/home/theory/phrlaq/gcc-4.8.2/mpc/src  -I../../gcc/../libdecnumber
-I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/../libbacktrace
-I/home/theory/phrlaq/include:-I/home/theory/phrlaq/include:-I/home/theory/phrlaq/include:
../../gcc/ipa-cp.c -o ipa-cp.o

../../gcc/vec.h(1140): error: more than one instance of function
"gt_ggc_mx" matches the argument list:
            function "gt_ggc_mx(edge_def *)"
            function "gt_ggc_mx(edge &)"
            argument types are: (edge)
      gt_ggc_mx ((*v)[i]);
      ^
          detected during instantiation of "void gt_ggc_mx(vec<T,
va_gc, va_gc::default_layout> *) [with T=edge]" at line 833 of
"gtype-desc.c"

../../gcc/vec.h(1160): error: more than one instance of function
"gt_pch_nx" matches the argument list:
            function "gt_pch_nx(edge_def *)"
            function "gt_pch_nx(edge &)"
            argument types are: (edge)
      gt_pch_nx ((*v)[i]);
      ^
          detected during instantiation of "void gt_pch_nx(vec<T, A,
vl_embed> *) [with T=edge, A=va_gc]" at line 3760 of "gtype-desc.c"

------------------------

Here are the steps I took to compile:

cd gcc-4.8.2
./contrib/download_prerequisites
cd ..
mkdir gcc-4.8.2-objdir
cd gcc-4.8.2-objdir
../gcc-4.8.2/configure --prefix=$HOME
make

Using icc version 13.1.

Any suggestions would be greatly appreciated.

Best regards,

Gil




[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