http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54660
Bug #: 54660 Summary: iq2000_function_arg_advance: format ‘%p expects argument of type ‘void*’, but argument 3 has type ‘const_tree 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 Blocks: 44756 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 \ ../../../gcc/gcc/config/iq2000/iq2000.c -o iq2000.o ../../../gcc/gcc/config/iq2000/iq2000.c: In function ‘void iq2000_function_arg_advance(cumulative_args_t, machine_mode, const_tree, bool)’: ../../../gcc/gcc/config/iq2000/iq2000.c:1145:34: error: format ‘%p’ expects argument of type ‘void*’, but argument 3 has type ‘const_tree {aka const tree_node*}’ [-Werror=format] fprintf (stderr, "%p", type); ^ cc1plus: all warnings being treated as errors make[2]: *** [iq2000.o] Error 1