This is the mail archive of the gcc-patches@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] |
Hi! When building for frv-linux, I see some fallout (cf. http://toolchain.lug-owl.de/buildbot/deliver_artifact.php?mode=view&id=91345): g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -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/home/vaxbuild/repos/gcc/gcc -I/home/vaxbuild/repos/gcc/gcc/. -I/home/vaxbuild/repos/gcc/gcc/../include -I/home/vaxbuild/repos/gcc/gcc/../libcpp/include -I/home/vaxbuild/repos/gcc/gcc/../libdecnumber -I/home/vaxbuild/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/vaxbuild/repos/gcc/gcc/../libbacktrace -o frv.o -MT frv.o -MMD -MP -MF ./.deps/frv.TPo /home/vaxbuild/repos/gcc/gcc/config/frv/frv.c /home/vaxbuild/repos/gcc/gcc/config/frv/frv.c: In function âvoid frv_init_cumulative_args(int*, tree, rtx, tree, int)â: /home/vaxbuild/repos/gcc/gcc/config/frv/frv.c:3097:51: error: invalid conversion from âintâ to âtree_codeâ [-fpermissive] get_tree_code_name ((int)TREE_CODE (ret_type))); ^ make[1]: *** [frv.o] Error 1 Fixed like this: 2013-10-18 Jan-Benedict Glaw <jbglaw@lug-owl.de> gcc/ * config/frv/frv.c (frv_init_cumulative_args): Fix wrong cast. diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 41ae2bb..bcd5511 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -3094,7 +3094,7 @@ frv_init_cumulative_args (CUMULATIVE_ARGS *cum, { tree ret_type = TREE_TYPE (fntype); fprintf (stderr, " return=%s,", - get_tree_code_name ((int)TREE_CODE (ret_type))); + get_tree_code_name (TREE_CODE (ret_type))); } if (libname && GET_CODE (libname) == SYMBOL_REF) Ok? MfG, JBG -- Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481 Signature of: The real problem with C++ for kernel modules is: the second : the language just sucks. -- Linus Torvalds
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |