Can't get rid of warnings about builtin-functions.
Posted: Sun Mar 22, 2009 6:52 am
At the Moment i get errors/warnings like this:
I walked through the man pages of gcc and searched on the internet, but i only could find two answer. The first one is, to rename these functions, but i don't want to.
The second is, use of "-fno-builtin" or "--no-builtin" on my gcc-command line. But this doesn't work...
My gcc/binutils are compiled as described in your wiki. I have gcc 4.3.3 with binutils 2.16.
The whole command line for this file is:
I hope anyone of you knows a good solution...
Code: Select all
mem.h:36: warning: conflicting types for built-in function 'memset'
The second is, use of "-fno-builtin" or "--no-builtin" on my gcc-command line. But this doesn't work...
My gcc/binutils are compiled as described in your wiki. I have gcc 4.3.3 with binutils 2.16.
The whole command line for this file is:
Code: Select all
/usr/cross/bin/i586-elf-gcc -Wall -nostdlib -nostartfiles -nodefaultlibs -O -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin --no-builtin -c -o mem.o mem.c