Hi !
I started looking at libredwg for creating DWG files (2000 and 2004).
I am running CentOS 7 (64-bits) and gcc 4.8.5
Running configure and make using libredwg-012 works fine. I am able to compile
and to run the demo programs.
Using version libredwg0.13.x versions, configure runs fine, but when compiling
I am getting a lot of errors, below a couple:
In file included from decode.c:272:0:
template.spec: In function 'template_private':
template.spec:22:1: error: format not a string literal, argument types not
checked [-Werror=format-nonliteral]
FIELD_RS (MEASUREMENT, 0); // copied to header_vars
header.spec:22:3: error: format not a string literal, argument types not
checked [-Werror=format-nonliteral]
header.spec:25:5: error: format not a string literal, argument types not
checked [-Werror=format-nonliteral]
FIELD_RC (zero_one_or_three, 0); // 1,3,5,0xcd,0
Any suggetsion how to fix the issue is very welcome !
Thanks.
Best regards,
Jan Homan