dwg.c: In function 'dwg_bmp': dwg.c:197:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat] decode_r2007.c:28:0: warning: "DWG_LOGLEVEL" redefined [enabled by default] In file included from decode_r2007.c:24:0: logging.h:43:0: note: this is the location of the previous definition decode_r2007.c: In function 'read_sections_map': decode_r2007.c:696:7: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:697:7: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:698:7: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:699:7: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:700:7: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:701:7: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:702:7: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:703:7: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:735:11: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:736:11: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:737:11: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:738:11: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:739:11: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:740:11: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:741:11: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c: In function 'read_pages_map': decode_r2007.c:788:7: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:789:7: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'int64_t' [-Wformat] decode_r2007.c:790:7: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'int64_t' [-Wformat] encode.c: In function 'dwg_encode_chains': encode.c:521:7: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat] encode.c:521:7: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat] encode.c: In function 'dwg_encode_add_object': encode.c:738:7: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat] encode.c: At top level: encode.c:1089:1: warning: conflicting types for 'dwg_encode_common_entity_handle_data' [enabled by default] In file included from encode.c:718:0: ./dwg.spec:40:3: note: previous implicit declaration of 'dwg_encode_common_entity_handle_data' was here