On Wed, Jan 13, 2010 at 2:33 AM, Rodrigo Rodrigues da Silva
<address@hidden> wrote:
Update of patch #7057 (project libredwg):
Status: None => Need Info
_______________________________________________________
Follow-up Comment #1:
I'm not sure about the objective of this patch. Things like "using namespace
std" would break under GCC. This is a C library, not a C++ library. Can't you
just link a C++ program to a GCC compiled library?
BTW, some type castings are useful, I'm still checking them.
After applying this patch, I got an error:
make[2]: Entrando no diretório `/media/disk/rodrigo/devel/libredwg/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
-g -O2 -MT bits.lo -MD -MP -MF .deps/bits.Tpo -c -o bits.lo bits.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT bits.lo -MD -MP
-MF .deps/bits.Tpo -c bits.c -fPIC -DPIC -o .libs/bits.o
bits.c:155: error: conflicting types for ‘bit_write_4BITS’
bits.h:72: error: previous declaration of ‘bit_write_4BITS’ was here
make[2]: ** [bits.lo] Erro 1
make[2]: Saindo do diretório `/media/disk/rodrigo/devel/libredwg/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/media/disk/rodrigo/devel/libredwg'
make: ** [all] Erro 2
Do you get this too?