Giampaolo, can you please register a bug on savannah.gnu.org/projects/libredwg?
Bad files (or files with objects that we haven't tested yet) will probably lead to segfaults. We couldn't find a way to avoid it yet. We should have support for files up to 2004. 2006 and later should fail gracefully with a -1 exit code. On 13-12-2010 12:32, Giampaolo Bellini wrote: > Hello Felipe > > removing comment on "#ifdef __cplusplus" on dwg.h seems to solve > linkage problem. > now I'm struggling with bad/not_R2000 files... I haven't found a way > to skip those files without getting a segfault > > Giampaolo > > > > 2010/12/13 Felipe Sanches <[email protected]>: >> I guess it is, but I havent evetdone it, yet. Have you tried? >> >> Pitanga, I think you've dealt with it before, right? Can you help him? >> >> Felipe "juca" Sanches >> >> On Mon, Dec 13, 2010 at 7:05 AM, Giampaolo Bellini <[email protected]> wrote: >>> >>> Hi all... >>> >>> is actually possible to link libredwg to a C++ program ? >>> >>> Giampaolo >> >> > -- Rodrigo Rodrigues da Silva http://polignu.org http://garoa.net.br http://gnu.org
0xE67BD84E.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
