libredwg
[Top][All Lists]
Advanced

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

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


From: Rodrigo Rodrigues da Silva
Subject: [libredwg] [patch #7057] C++ patch
Date: Wed, 13 Jan 2010 01:33:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:1.9.0.17) Gecko/2010010604 Ubuntu/9.04 (jaunty) Firefox/3.0.17

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]