Re: Fix compilation of strerror-override with llvm/clang

2011-08-30 Thread Aleksander Morgado
Hey Bruno, > > So I have to ask: > - What is your platform? > - What are the values of $CC, $CFLAGS, $CPPFLAGS that you are using in your > configuration? > - More precisely, how to reproduce the problem you had? > - Does the problem go away if you do a "make distclean" and reconfigur

Re: Fix compilation of strerror-override with llvm/clang

2011-08-30 Thread Bruno Haible
Hi Aleksander, > I'm compiling gnupdf under llvm/clang; and found an issue with the > strerror-override module. In my setup, it defines strerror_override() to > NULL in the .h file, but then it implements the method anyway in the .c > file, and llvm/clang doesn't like that: > > strerror-o

Fix compilation of strerror-override with llvm/clang

2011-08-29 Thread Aleksander Morgado
Hey hey, I'm compiling gnupdf under llvm/clang; and found an issue with the strerror-override module. In my setup, it defines strerror_override() to NULL in the .h file, but then it implements the method anyway in the .c file, and llvm/clang doesn't like that: strerror-override.c:35:1: er