http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54658

             Bug #: 54658
           Summary: vxworks.c / macro 'VEC_quick_ push': no matching
                    function for call
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: amyl...@gcc.gnu.org
                CC: dnovi...@gcc.gnu.org
            Blocks: 47093
            Target: i686-wrs-vxworks, i686-wrs-vxworksae


g++ -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -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 -Werror
-fno-common  -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/.
-I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include 
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber    -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/.
-I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include 
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber   ../../../gcc/gcc/config/vxworks.c
In file included from ../../../gcc/gcc/tree.h:29:0,
                 from ../../../gcc/gcc/config/vxworks.c:29:
../../../gcc/gcc/config/vxworks.c: In function ‘tree_node*
vxworks_emutls_var_init(tree, tree, tree)’:
../../../gcc/gcc/vec.h:387:36: error: no matching function for call to
‘vec_t<constructor_elt_d>::quick_push(NULL, const char [34], int, const char
[24])’
  ((V)->quick_push (O VEC_CHECK_INFO))
                                    ^
../../../gcc/gcc/config/vxworks.c:105:9: note: in expansion of macro
'VEC_quick_push'
   elt = VEC_quick_push (constructor_elt, v, NULL);
         ^
../../../gcc/gcc/vec.h:387:36: note: candidate is:
  ((V)->quick_push (O VEC_CHECK_INFO))
                                    ^
../../../gcc/gcc/config/vxworks.c:105:9: note: in expansion of macro
'VEC_quick_push'
   elt = VEC_quick_push (constructor_elt, v, NULL);
         ^
../../../gcc/gcc/vec.h:783:1: note: T* vec_t<T>::quick_push(const T&, const
char*, unsigned int, const char*) [with T = constructor_elt_d]
 vec_t<T>::quick_push (const T &obj VEC_CHECK_DECL)
 ^
../../../gcc/gcc/vec.h:783:1: note:   no known conversion for argument 1 from
‘int’ to ‘const constructor_elt_d&’
../../../gcc/gcc/vec.h:387:36: error: no matching function for call to
‘vec_t<constructor_elt_d>::quick_push(NULL, const char [34], int, const char
[24])’
  ((V)->quick_push (O VEC_CHECK_INFO))
                                    ^
../../../gcc/gcc/config/vxworks.c:109:9: note: in expansion of macro
'VEC_quick_push'
   elt = VEC_quick_push (constructor_elt, v, NULL);
         ^
../../../gcc/gcc/vec.h:387:36: note: candidate is:
  ((V)->quick_push (O VEC_CHECK_INFO))
                                    ^
../../../gcc/gcc/config/vxworks.c:109:9: note: in expansion of macro
'VEC_quick_push'
   elt = VEC_quick_push (constructor_elt, v, NULL);
         ^
../../../gcc/gcc/vec.h:783:1: note: T* vec_t<T>::quick_push(const T&, const
char*, unsigned int, const char*) [with T = constructor_elt_d]
 vec_t<T>::quick_push (const T &obj VEC_CHECK_DECL)
 ^
../../../gcc/gcc/vec.h:783:1: note:   no known conversion for argument 1 from
‘int’ to ‘const constructor_elt_d&’
../../../gcc/gcc/vec.h:387:36: error: no matching function for call to
‘vec_t<constructor_elt_d>::quick_push(NULL, const char [34], int, const char
[24])’
  ((V)->quick_push (O VEC_CHECK_INFO))
                                    ^
../../../gcc/gcc/config/vxworks.c:114:9: note: in expansion of macro
'VEC_quick_push'
   elt = VEC_quick_push (constructor_elt, v, NULL);
         ^
../../../gcc/gcc/vec.h:387:36: note: candidate is:
  ((V)->quick_push (O VEC_CHECK_INFO))
                                    ^
../../../gcc/gcc/config/vxworks.c:114:9: note: in expansion of macro
'VEC_quick_push'
   elt = VEC_quick_push (constructor_elt, v, NULL);
         ^
../../../gcc/gcc/vec.h:783:1: note: T* vec_t<T>::quick_push(const T&, const
char*, unsigned int, const char*) [with T = constructor_elt_d]
 vec_t<T>::quick_push (const T &obj VEC_CHECK_DECL)
 ^
../../../gcc/gcc/vec.h:783:1: note:   no known conversion for argument 1 from
‘int’ to ‘const constructor_elt_d&’
make[2]: *** [vxworks.o] Error 1
rm gcj-dbtool.pod jcf-dump.pod gcj.pod cpp.pod gccgo.pod fsf-funding.pod
gij.pod gc-analyze.pod grmic.pod gcc.pod gfortran.pod jv-convert.pod gfdl.pod
gcov.pod
make[2]: Leaving directory `/home/amylaar/fsf/multi/i686-wrs-vxworks/gcc'
make[1]: *** [all-gcc] Error 2

Reply via email to