Anyone else seeing this? LLVM/gcc-4.2.llvm-objects/./gcc/xgcc -BLLVM/gcc-4.2.llvm-objects/./gcc/ -B/usr/local/gnat-llvm/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gnat-llvm/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gnat-llvm/x86_64-unknown-linux-gnu/include -isystem /usr/local/gnat-llvm/x86_64-unknown-linux-gnu/sys-include -c -DHAVE_CONFIG_H -O2 -g -O2 -I. -I../../../gcc-4.2.llvm/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat ../../../gcc-4.2.llvm/libiberty/cplus-dem.c -o cplus-dem.o ../../../gcc-4.2.llvm/libiberty/cplus-dem.c:55: warning: function declaration isn’t a prototype ../../../gcc-4.2.llvm/libiberty/cplus-dem.c:55: error: conflicting types for ‘malloc’
On 2008-10-01 15:04, Duncan Sands wrote:> Anyone else seeing this? > > LLVM/gcc-4.2.llvm-objects/./gcc/xgcc -BLLVM/gcc-4.2.llvm-objects/./gcc/ -B/usr/local/gnat-llvm/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gnat-llvm/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gnat-llvm/x86_64-unknown-linux-gnu/include -isystem /usr/local/gnat-llvm/x86_64-unknown-linux-gnu/sys-include -c -DHAVE_CONFIG_H -O2 -g -O2 -I. -I../../../gcc-4.2.llvm/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat ../../../gcc-4.2.llvm/libiberty/cplus-dem.c -o cplus-dem.o > ../../../gcc-4.2.llvm/libiberty/cplus-dem.c:55: warning: function declaration isn’t a prototype > ../../../gcc-4.2.llvm/libiberty/cplus-dem.c:55: error: conflicting types for ‘malloc’ >It builds here (Linux x86_64), I use the following configure line: ../llvm-gcc4.2/configure --prefix=/home/edwin/llvm-svn/obj42/../install --program-prefix=llvm- --enable-llvm=/home/edwin/llvm-svn/llvm/ --disable-multilib --enable-checking=release --enable-languages=c,c++ What is yours? Best regards, --Edwin
> It builds here (Linux x86_64), I use the following configure line: > ../llvm-gcc4.2/configure > --prefix=/home/edwin/llvm-svn/obj42/../install --program-prefix=llvm- > --enable-llvm=/home/edwin/llvm-svn/llvm/ --disable-multilib > --enable-checking=release --enable-languages=c,c++I'm using (x86-64 linux, gcc 4.3) ../gcc-4.2.llvm/configure --prefix=/usr/local/gnat-llvm --enable-languages=c,c++ --enable-checking --enable-llvm=$HOME/LLVM/llvm-objects --disable-shared --disable-bootstrap --disable-multilib Ciao, Duncan.