libredwg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libredwg] Re: [patch #7057] C++ patch


From: address@hidden
Subject: [libredwg] Re: [patch #7057] C++ patch
Date: Wed, 13 Jan 2010 02:40:38 +0100


 yes I was wrestling with a problem  like that at one point.
please try this version and tell me if you have that problem

http://github.com/h4ck3rm1k3/LibreDWGCPlusPlus
thanks
mike

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?

   _______________________________________________________

Reply to this item at:

 <http://savannah.gnu.org/patch/?7057>

_______________________________________________
 Message sent via/by Savannah
 http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]