GithubHelp home page GithubHelp logo

Comments (3)

rurban avatar rurban commented on June 22, 2024

Which gcc?
You need to use --disable-werror for now
Thanks

from libredwg.

topazus avatar topazus commented on June 22, 2024

@rurban I am using GCC 14.

With the build from d70095a , it also failed (not use --disable-werror for now), see the following build log

❯ ./configure --disable-static --disable-bindings --disable-python && make -j20
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking git version... 0.13.0.7003
checking so version-info... 0:13:0
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for bash... /bin/sh
checking for inline... inline
checking for C/C++ restrict keyword... __restrict__
checking for ld... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... egrep: warning: egrep is obsolescent; using grep -E
done
checking 32-bit host C ABI... no
checking how to run the C preprocessor... gcc -E
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib,lib64
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for PS_open_file in -lps... no
checking for pcre2_config_8 in -lpcre2-8... yes
checking for pcre2_config_16 in -lpcre2-16... yes
checking for newXMLEntity in -lxml2... no
checking for egrep... (cached) /usr/bin/grep -E
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking for malloc.h... yes
checking for wchar.h... yes
checking for ctype.h... yes
checking for wctype.h... yes
checking for float.h... yes
checking for limits.h... yes
checking for sys/param.h... yes
checking for direct.h... no
checking for libgen.h... yes
checking for iconv.h... yes
checking for sys/time.h... yes
checking for getopt.h... yes
checking for alloca.h... yes
checking for valgrind/valgrind.h... yes
checking for endian.h... yes
checking for byteswap.h... yes
checking for mimalloc-override.h... yes
checking whether byte ordering is bigendian... no
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for strcasecmp header file... <strings.h>
checking if le16toh is available in endian.h... yes
checking if le32toh is available in endian.h... yes
checking if le64toh is available in endian.h... yes
checking if htole32 is available in endian.h... yes
checking if htole64 is available in endian.h... yes
checking if htobe16 is available in endian.h... yes
checking if htobe32 is available in endian.h... yes
checking if htobe64 is available in endian.h... yes
checking if be64toh is available in endian.h... yes
checking for pcre2.h... yes
checking if pointers to integers require aligned access... no
checking for size_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking size of size_t... 8
checking size of wchar_t... 4
checking whether C compiler accepts -Werror=unknown-warning-option... no
checking whether C compiler accepts -Wsuggest-attribute=format... yes
checking whether C compiler accepts -mretpoline -DRETPOLINE... no
checking whether C compiler accepts -mindirect-branch=thunk-extern -mfunction-return=thunk-extern -mindirect-branch-register -DRETPOLINE... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -fno-semantic-interposition... yes
checking whether C compiler accepts -fwrapv... yes
checking whether C compiler accepts -fno-common... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether C compiler accepts -fno-strict-aliasing... (cached) yes
checking whether C compiler accepts -ftrivial-auto-var-init=zero... yes
checking whether C compiler accepts -fstack-protector-strong... yes
checking whether C compiler accepts -fstack-clash-protection... yes
checking whether C compiler accepts -fcf-protection=full... yes
checking whether C compiler accepts -fno-delete-null-pointer-checks... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wundef... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Wmissing-declarations... yes
checking whether C compiler accepts -Wredundant-decls... yes
checking whether C compiler accepts -Wno-unused-variable... yes
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -Wno-unused-but-set-variable... yes
checking whether C compiler accepts -Wmissing-field-initializers... yes
checking whether C compiler accepts -Wcast-align... yes
checking whether C compiler accepts -Wformat=2... yes
checking whether C compiler accepts -Wformat-nonliteral... no
checking whether C compiler accepts -Wformat-security... no
checking whether C compiler accepts -Wformat-y2k... no
checking whether C compiler accepts -Wsign-compare... yes
checking whether C compiler accepts -Wstrict-aliasing... yes
checking whether C compiler accepts -Wshadow... yes
checking whether C compiler accepts -Winline... yes
checking whether C compiler accepts -Wpacked... yes
checking whether C compiler accepts -Wmissing-format-attribute... yes
checking whether C compiler accepts -Wmissing-noreturn... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wredundant-decls... (cached) yes
checking whether C compiler accepts -Wmissing-include-dirs... yes
checking whether C compiler accepts -Warray-bounds... yes
checking whether C compiler accepts -Wreturn-type... yes
checking whether C compiler accepts -Wswitch-enum... (cached) no
checking whether C compiler accepts -Wswitch-default... yes
checking whether C compiler accepts -Wduplicated-cond... yes
checking whether C compiler accepts -Wduplicated-branches... yes
checking whether C compiler accepts -Wlogical-op... yes
checking whether C compiler accepts -Wrestrict... yes
checking whether C compiler accepts -Wnull-dereference... yes
checking whether C compiler accepts -Wdouble-promotion... yes
checking whether C compiler accepts -Wchar-subscripts... yes
checking whether C compiler accepts -Wformat=2 -Wformat-nonliteral... yes
checking whether C compiler accepts -Wformat=2 -Wformat-security... yes
checking whether C compiler accepts -Wformat=2 -Wformat-y2k... yes
checking whether C compiler accepts -Wnested-externs... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wstrict-prototypes... yes
checking whether C compiler accepts -Wdeclaration-after-statement... yes
checking whether C compiler accepts -Wimplicit-function-declaration... yes
checking whether C compiler accepts -Wold-style-definition... yes
checking whether C compiler accepts -Wjump-misses-init... yes
checking whether C compiler accepts -Wno-error=unused-variable... yes
checking whether C compiler accepts -Wno-error=unused-parameter... yes
checking whether C compiler accepts -Wno-error=unused-but-set-variable... yes
checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no
checking whether the linker accepts -Wl,--as-needed... yes
checking whether the linker accepts -Wl,--as-needed... yes
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether the linker accepts -Wl,-z,noexecstack... yes
checking whether the linker accepts -Wl,-z,noexecstack... yes
checking whether the linker accepts -Wl,--no-as-needed... yes
checking whether the linker accepts -Wl,--fatal-warnings... yes
checking whether the linker accepts -Wl,-fatal_warnings... no
checking whether the linker accepts -Wl,--no-as-needed... yes
checking for __attribute__((visibility("default")))... yes
checking whether C compiler accepts -Werror... yes
checking for __attribute__((gnu_format))... yes
checking for __attribute__((ms_format))... yes
checking for __attribute__((format))... yes
checking for __attribute__((malloc))... yes
checking for __attribute__((returns_nonnull))... yes
checking for __attribute__((noreturn))... yes
checking for __attribute__((aligned))... yes
checking for printf() modifier to use with size_t... "z"
checking for GNU libc compatible malloc... (cached) yes
checking for GNU libc compatible realloc... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for working alloca.h... yes
checking for alloca... yes
checking for strtod... yes
checking for strdup... yes
checking for getopt_long... yes
checking for basename... yes
checking for strcasestr... yes
checking for scandir... yes
checking for floor... no
checking for sqrt... no
checking for gettimeofday... yes
checking for floor in -lm... yes
checking for sincos... yes
checking for memchr... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strstr... yes
checking for strrchr... yes
checking for strtol... yes
checking for strtoll... yes
checking for strtoul... yes
checking for strtoull... yes
checking for strnlen... yes
checking for memmem... yes
checking for gmtime_r... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for wcscpy... yes
checking for wcscmp... yes
checking for wcsstr... yes
checking for sscanf_s... no
configure: WARNING: No secure sscanf_s found. dwgfuzz -add will produce false positives.
checking for --enable-debug... no (default)
checking whether C compiler accepts -Werror... (cached) yes
checking whether to add -D_FORTIFY_SOURCE=3 to CPPFLAGS... yes
checking for C restrict usability... restrict
yes
checking for --disable-write... no (default)
checking for --enable-trace... no (default)
checking for --with-dxf-precision... max (default)
checking for --with-geojson-precision... max (default)
checking for --disable-werror... no (default)
checking for setenv... yes
checking for --disable-dxf... no (default)
checking for --disable-json... no (default)
checking for --disable-bindings... yes
checking for --enable-check-less... no (default)
checking for --with-mimalloc... no
checking for --enable-gcov... no (default)
checking for gperf... no
checking for latest clang-format... clang-format
checking for latest clang-tidy... clang-format
checking for --disable-python... disabled
configure: WARNING: disabled swig bindings
checking for perl... /usr/bin/perl
checking PERL version... v5.38.2
checking for cppcheck... no
checking for picat... no
checking for parallel... no
checking for timeout... timeout
checking TIMEOUT version... 9.4
checking for makeinfo... ${SHELL} '/home/aurora/fedora-src/libredwg/build-aux/missing' makeinfo
checking MAKEINFO version... 
checking for ./../ODA-spec... no
checking for doxygen... doxygen
checking DOXYGEN version... 1.10.0 (GIT-NOTFOUND)
checking for jq... jq
checking JQ version... 
checking for shellcheck... no
checking for shfmt... no
checking for rpmlint... rpmlint
checking for geojsonhint... no
checking for gjv... no
checking for jing... no
checking for valgrind... valgrind
checking for Valgrind tool memcheck... yes
checking for Valgrind tool helgrind... yes
checking for Valgrind tool drd... yes
checking VALGRIND version... 3.22.0
checking for Valgrind suppressions... valgrind-linux.supp
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/codepages/Makefile
config.status: creating doc/Makefile
config.status: creating programs/Makefile
config.status: creating examples/Makefile
config.status: creating test/Makefile
config.status: creating test/unit-testing/Makefile
config.status: creating libredwg.pc
config.status: creating vcpkg.json
config.status: creating doc/Doxyfile
config.status: creating doc/footer
config.status: creating programs/dwgfilter
config.status: creating programs/alive.test
config.status: creating programs/dxf.test
config.status: creating programs/json.test
config.status: creating programs/svg.test
config.status: creating examples/dwgadd_test.sh
config.status: creating logs-all.sh
config.status: creating log
config.status: creating dwg
config.status: creating dxf
config.status: creating json
config.status: creating geojson
config.status: creating svg
config.status: creating rw
config.status: creating dynapi_test_all.sh
config.status: creating unit_testing_all.sh
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
make[1]: Entering directory '/home/aurora/fedora-src/libredwg'
Making all in src
make[2]: Entering directory '/home/aurora/fedora-src/libredwg/src'
make  all-recursive
make[3]: Entering directory '/home/aurora/fedora-src/libredwg/src'
Making all in codepages
make[4]: Entering directory '/home/aurora/fedora-src/libredwg/src/codepages'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/aurora/fedora-src/libredwg/src/codepages'
make[4]: Entering directory '/home/aurora/fedora-src/libredwg/src'
  CC       decode.lo
  CC       out_dxfb.lo
  CC       out_json.lo
  CC       encode.lo
  CC       out_geojson.lo
  CC       dxfclasses.lo
  CC       in_dxf.lo
  CC       in_json.lo
  CC       dwg.lo
  CC       common.lo
  CC       codepages.lo
  CC       bits.lo
  CC       decode_r11.lo
  CC       decode_r2007.lo
  CC       reedsolomon.lo
  CC       print.lo
  CC       free.lo
  CC       hash.lo
  CC       dynapi.lo
  CC       classes.lo
  CC       dwg_api.lo
  CC       objects.lo
  CC       geom.lo
  CC       out_dxf.lo
In file included from in_dxf.c:55:
in_dxf.c: In function 'new_table_control':
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_LTYPE_CONTROL' {aka 'struct _dwg_object_LTYPE_CONTROL'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.h:153:35: note: in expansion of macro 'ADD_OBJECT'
  153 | #  define ADD_OBJECT1(token, tgt) ADD_OBJECT (token)
      |                                   ^~~~~~~~~~
in_dxf.h:226:7: note: in expansion of macro 'ADD_OBJECT1'
  226 |       ADD_OBJECT1 (token, LTYPE_CONTROL);                                     \
      |       ^~~~~~~~~~~
in_dxf.c:6310:3: note: in expansion of macro 'ADD_TABLE_IF1'
 6310 |   ADD_TABLE_IF1 (VPORT, VPORT_CONTROL)
      |   ^~~~~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_LTYPE_CONTROL' {aka 'struct _dwg_object_LTYPE_CONTROL'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.h:153:35: note: in expansion of macro 'ADD_OBJECT'
  153 | #  define ADD_OBJECT1(token, tgt) ADD_OBJECT (token)
      |                                   ^~~~~~~~~~
in_dxf.h:226:7: note: in expansion of macro 'ADD_OBJECT1'
  226 |       ADD_OBJECT1 (token, LTYPE_CONTROL);                                     \
      |       ^~~~~~~~~~~
in_dxf.c:6312:3: note: in expansion of macro 'ADD_TABLE_IF1'
 6312 |   ADD_TABLE_IF1 (APPID, APPID_CONTROL)
      |   ^~~~~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '40' for type 'Dwg_Object_LTYPE_CONTROL' {aka 'struct _dwg_object_LTYPE_CONTROL'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.h:153:35: note: in expansion of macro 'ADD_OBJECT'
  153 | #  define ADD_OBJECT1(token, tgt) ADD_OBJECT (token)
      |                                   ^~~~~~~~~~
in_dxf.h:226:7: note: in expansion of macro 'ADD_OBJECT1'
  226 |       ADD_OBJECT1 (token, LTYPE_CONTROL);                                     \
      |       ^~~~~~~~~~~
in_dxf.c:6316:3: note: in expansion of macro 'ADD_TABLE_IF1'
 6316 |   ADD_TABLE_IF1 (DIMSTYLE, DIMSTYLE_CONTROL)
      |   ^~~~~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_LTYPE_CONTROL' {aka 'struct _dwg_object_LTYPE_CONTROL'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.h:153:35: note: in expansion of macro 'ADD_OBJECT'
  153 | #  define ADD_OBJECT1(token, tgt) ADD_OBJECT (token)
      |                                   ^~~~~~~~~~
in_dxf.h:226:7: note: in expansion of macro 'ADD_OBJECT1'
  226 |       ADD_OBJECT1 (token, LTYPE_CONTROL);                                     \
      |       ^~~~~~~~~~~
in_dxf.c:6318:3: note: in expansion of macro 'ADD_TABLE_IF1'
 6318 |   ADD_TABLE_IF1 (LAYER, LAYER_CONTROL)
      |   ^~~~~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_LTYPE_CONTROL' {aka 'struct _dwg_object_LTYPE_CONTROL'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.h:153:35: note: in expansion of macro 'ADD_OBJECT'
  153 | #  define ADD_OBJECT1(token, tgt) ADD_OBJECT (token)
      |                                   ^~~~~~~~~~
in_dxf.h:226:7: note: in expansion of macro 'ADD_OBJECT1'
  226 |       ADD_OBJECT1 (token, LTYPE_CONTROL);                                     \
      |       ^~~~~~~~~~~
in_dxf.c:6320:3: note: in expansion of macro 'ADD_TABLE_IF1'
 6320 |   ADD_TABLE_IF1 (STYLE, STYLE_CONTROL)
      |   ^~~~~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_LTYPE_CONTROL' {aka 'struct _dwg_object_LTYPE_CONTROL'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.h:153:35: note: in expansion of macro 'ADD_OBJECT'
  153 | #  define ADD_OBJECT1(token, tgt) ADD_OBJECT (token)
      |                                   ^~~~~~~~~~
in_dxf.h:226:7: note: in expansion of macro 'ADD_OBJECT1'
  226 |       ADD_OBJECT1 (token, LTYPE_CONTROL);                                     \
      |       ^~~~~~~~~~~
in_dxf.c:6322:3: note: in expansion of macro 'ADD_TABLE_IF1'
 6322 |   ADD_TABLE_IF1 (UCS, UCS_CONTROL)
      |   ^~~~~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_LTYPE_CONTROL' {aka 'struct _dwg_object_LTYPE_CONTROL'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.h:153:35: note: in expansion of macro 'ADD_OBJECT'
  153 | #  define ADD_OBJECT1(token, tgt) ADD_OBJECT (token)
      |                                   ^~~~~~~~~~
in_dxf.h:226:7: note: in expansion of macro 'ADD_OBJECT1'
  226 |       ADD_OBJECT1 (token, LTYPE_CONTROL);                                     \
      |       ^~~~~~~~~~~
in_dxf.c:6324:3: note: in expansion of macro 'ADD_TABLE_IF1'
 6324 |   ADD_TABLE_IF1 (VIEW, VIEW_CONTROL)
      |   ^~~~~~~~~~~~~
objects.inc: In function 'new_object':
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:23:1: note: in expansion of macro 'DWG_ENTITY'
   23 | DWG_ENTITY (ALIGNMENTPARAMETERENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:29:1: note: in expansion of macro 'DWG_ENTITY'
   29 | DWG_ENTITY (BASEPOINTPARAMETERENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:30:1: note: in expansion of macro 'DWG_ENTITY'
   30 | DWG_ENTITY (BLOCK)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:32:1: note: in expansion of macro 'DWG_ENTITY'
   32 | DWG_ENTITY (CAMERA)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:44:1: note: in expansion of macro 'DWG_ENTITY'
   44 | DWG_ENTITY (ENDBLK)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:45:1: note: in expansion of macro 'DWG_ENTITY'
   45 | DWG_ENTITY (ENDREP)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:47:1: note: in expansion of macro 'DWG_ENTITY'
   47 | DWG_ENTITY (FLIPGRIPENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:48:1: note: in expansion of macro 'DWG_ENTITY'
   48 | DWG_ENTITY (FLIPPARAMETERENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:54:1: note: in expansion of macro 'DWG_ENTITY'
   54 | DWG_ENTITY (JUMP)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:56:1: note: in expansion of macro 'DWG_ENTITY'
   56 | DWG_ENTITY (LAYOUTPRINTCONFIG)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:60:1: note: in expansion of macro 'DWG_ENTITY'
   60 | DWG_ENTITY (LINEARGRIPENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:61:1: note: in expansion of macro 'DWG_ENTITY'
   61 | DWG_ENTITY (LINEARPARAMETERENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:62:1: note: in expansion of macro 'DWG_ENTITY'
   62 | DWG_ENTITY (LOAD)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:71:1: note: in expansion of macro 'DWG_ENTITY'
   71 | DWG_ENTITY (NAVISWORKSMODEL)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:74:1: note: in expansion of macro 'DWG_ENTITY'
   74 | DWG_ENTITY (OLEFRAME)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:80:1: note: in expansion of macro 'DWG_ENTITY'
   80 | DWG_ENTITY (POINTPARAMETERENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:81:1: note: in expansion of macro 'DWG_ENTITY'
   81 | DWG_ENTITY (POLARGRIPENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:89:1: note: in expansion of macro 'DWG_ENTITY'
   89 | DWG_ENTITY (REPEAT)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:91:1: note: in expansion of macro 'DWG_ENTITY'
   91 | DWG_ENTITY (ROTATIONGRIPENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:92:1: note: in expansion of macro 'DWG_ENTITY'
   92 | DWG_ENTITY (ROTATIONPARAMETERENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:95:1: note: in expansion of macro 'DWG_ENTITY'
   95 | DWG_ENTITY (SEQEND)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:104:1: note: in expansion of macro 'DWG_ENTITY'
  104 | DWG_ENTITY (UNKNOWN_ENT)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:106:1: note: in expansion of macro 'DWG_ENTITY'
  106 | DWG_ENTITY (VERTEX_3D)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:107:1: note: in expansion of macro 'DWG_ENTITY'
  107 | DWG_ENTITY (VERTEX_MESH)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:108:1: note: in expansion of macro 'DWG_ENTITY'
  108 | DWG_ENTITY (VERTEX_PFACE)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:109:1: note: in expansion of macro 'DWG_ENTITY'
  109 | DWG_ENTITY (VERTEX_PFACE_FACE)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:111:1: note: in expansion of macro 'DWG_ENTITY'
  111 | DWG_ENTITY (VISIBILITYGRIPENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:112:1: note: in expansion of macro 'DWG_ENTITY'
  112 | DWG_ENTITY (VISIBILITYPARAMETERENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:115:1: note: in expansion of macro 'DWG_ENTITY'
  115 | DWG_ENTITY (XYGRIPENTITY)
      | ^~~~~~~~~~
in_dxf.h:166:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  166 |     _obj = calloc (1, sizeof (Dwg_Entity_##token));                           \
      |          ^
in_dxf.c:8740:15: note: in expansion of macro 'ADD_ENTITY'
 8740 |               ADD_ENTITY (token);               \
      |               ^~~~~~~~~~
objects.inc:116:1: note: in expansion of macro 'DWG_ENTITY'
  116 | DWG_ENTITY (XYPARAMETERENTITY)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:118:1: note: in expansion of macro 'DWG_OBJECT'
  118 | DWG_OBJECT (ACMECOMMANDHISTORY)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:119:1: note: in expansion of macro 'DWG_OBJECT'
  119 | DWG_OBJECT (ACMESCOPE)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:120:1: note: in expansion of macro 'DWG_OBJECT'
  120 | DWG_OBJECT (ACMESTATEMGR)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:129:1: note: in expansion of macro 'DWG_OBJECT'
  129 | DWG_OBJECT (ACSH_HISTORY_CLASS)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:139:1: note: in expansion of macro 'DWG_OBJECT'
  139 | DWG_OBJECT (ANNOTSCALEOBJECTCONTEXTDATA)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:141:1: note: in expansion of macro 'DWG_OBJECT'
  141 | DWG_OBJECT (APPID_CONTROL)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:145:1: note: in expansion of macro 'DWG_OBJECT'
  145 | DWG_OBJECT (ASSOCACTIONPARAM)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:153:1: note: in expansion of macro 'DWG_OBJECT'
  153 | DWG_OBJECT (ASSOCDIMDEPENDENCYBODY)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:175:1: note: in expansion of macro 'DWG_OBJECT'
  175 | DWG_OBJECT (ASSOCRESTOREENTITYSTATEACTIONBODY)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:203:1: note: in expansion of macro 'DWG_OBJECT'
  203 | DWG_OBJECT (BLOCKPARAMDEPENDENCYBODY)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:208:1: note: in expansion of macro 'DWG_OBJECT'
  208 | DWG_OBJECT (BLOCKPROPERTIESTABLE)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:211:1: note: in expansion of macro 'DWG_OBJECT'
  211 | DWG_OBJECT (BLOCKREPRESENTATION)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:225:1: note: in expansion of macro 'DWG_OBJECT'
  225 | DWG_OBJECT (BREAKDATA)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:226:1: note: in expansion of macro 'DWG_OBJECT'
  226 | DWG_OBJECT (BREAKPOINTREF)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:227:1: note: in expansion of macro 'DWG_OBJECT'
  227 | DWG_OBJECT (CELLSTYLEMAP)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:228:1: note: in expansion of macro 'DWG_OBJECT'
  228 | DWG_OBJECT (CONTEXTDATAMANAGER)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:229:1: note: in expansion of macro 'DWG_OBJECT'
  229 | DWG_OBJECT (CSACDOCUMENTOPTIONS)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:230:1: note: in expansion of macro 'DWG_OBJECT'
  230 | DWG_OBJECT (CURVEPATH)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:232:1: note: in expansion of macro 'DWG_OBJECT'
  232 | DWG_OBJECT (DATATABLE)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:235:1: note: in expansion of macro 'DWG_OBJECT'
  235 | DWG_OBJECT (DICTIONARY)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:236:1: note: in expansion of macro 'DWG_OBJECT'
  236 | DWG_OBJECT (DICTIONARYVAR)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:237:1: note: in expansion of macro 'DWG_OBJECT'
  237 | DWG_OBJECT (DICTIONARYWDFLT)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:238:1: note: in expansion of macro 'DWG_OBJECT'
  238 | DWG_OBJECT (DIMASSOC)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:240:1: note: in expansion of macro 'DWG_OBJECT'
  240 | DWG_OBJECT (DIMSTYLE_CONTROL)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:242:1: note: in expansion of macro 'DWG_OBJECT'
  242 | DWG_OBJECT (DUMMY)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:244:1: note: in expansion of macro 'DWG_OBJECT'
  244 | DWG_OBJECT (DYNAMICBLOCKPURGEPREVENTER)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:248:1: note: in expansion of macro 'DWG_OBJECT'
  248 | DWG_OBJECT (FIELDLIST)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:252:1: note: in expansion of macro 'DWG_OBJECT'
  252 | DWG_OBJECT (GROUND_PLANE_BACKGROUND)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:253:1: note: in expansion of macro 'DWG_OBJECT'
  253 | DWG_OBJECT (GROUP)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:255:1: note: in expansion of macro 'DWG_OBJECT'
  255 | DWG_OBJECT (IDBUFFER)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:257:1: note: in expansion of macro 'DWG_OBJECT'
  257 | DWG_OBJECT (IMAGEDEF_REACTOR)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:259:1: note: in expansion of macro 'DWG_OBJECT'
  259 | DWG_OBJECT (INDEX)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:261:1: note: in expansion of macro 'DWG_OBJECT'
  261 | DWG_OBJECT (LAYERFILTER)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:262:1: note: in expansion of macro 'DWG_OBJECT'
  262 | DWG_OBJECT (LAYER_CONTROL)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:263:1: note: in expansion of macro 'DWG_OBJECT'
  263 | DWG_OBJECT (LAYER_INDEX)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:266:1: note: in expansion of macro 'DWG_OBJECT'
  266 | DWG_OBJECT (LIGHTLIST)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:267:1: note: in expansion of macro 'DWG_OBJECT'
  267 | DWG_OBJECT (LONG_TRANSACTION)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:272:1: note: in expansion of macro 'DWG_OBJECT'
  272 | DWG_OBJECT (MLEADEROBJECTCONTEXTDATA)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:279:1: note: in expansion of macro 'DWG_OBJECT'
  279 | DWG_OBJECT (OBJECT_PTR)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:281:1: note: in expansion of macro 'DWG_OBJECT'
  281 | DWG_OBJECT (PARTIAL_VIEWING_INDEX)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:283:1: note: in expansion of macro 'DWG_OBJECT'
  283 | DWG_OBJECT (PLACEHOLDER)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:288:1: note: in expansion of macro 'DWG_OBJECT'
  288 | DWG_OBJECT (POINTCLOUDDEF_REACTOR)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:289:1: note: in expansion of macro 'DWG_OBJECT'
  289 | DWG_OBJECT (POINTCLOUDDEF_REACTOR_EX)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:290:1: note: in expansion of macro 'DWG_OBJECT'
  290 | DWG_OBJECT (POINTPATH)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:295:1: note: in expansion of macro 'DWG_OBJECT'
  295 | DWG_OBJECT (RASTERVARIABLES)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:302:1: note: in expansion of macro 'DWG_OBJECT'
  302 | DWG_OBJECT (SECTION_MANAGER)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:303:1: note: in expansion of macro 'DWG_OBJECT'
  303 | DWG_OBJECT (SECTION_SETTINGS)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:304:1: note: in expansion of macro 'DWG_OBJECT'
  304 | DWG_OBJECT (SKYLIGHT_BACKGROUND)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:305:1: note: in expansion of macro 'DWG_OBJECT'
  305 | DWG_OBJECT (SOLID_BACKGROUND)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '40' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:306:1: note: in expansion of macro 'DWG_OBJECT'
  306 | DWG_OBJECT (SORTENTSTABLE)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:310:1: note: in expansion of macro 'DWG_OBJECT'
  310 | DWG_OBJECT (STYLE_CONTROL)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:314:1: note: in expansion of macro 'DWG_OBJECT'
  314 | DWG_OBJECT (TABLEGEOMETRY)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:319:1: note: in expansion of macro 'DWG_OBJECT'
  319 | DWG_OBJECT (UCS_CONTROL)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '8' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:320:1: note: in expansion of macro 'DWG_OBJECT'
  320 | DWG_OBJECT (UNKNOWN_OBJ)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:321:1: note: in expansion of macro 'DWG_OBJECT'
  321 | DWG_OBJECT (VBA_PROJECT)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:323:1: note: in expansion of macro 'DWG_OBJECT'
  323 | DWG_OBJECT (VIEW_CONTROL)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:326:1: note: in expansion of macro 'DWG_OBJECT'
  326 | DWG_OBJECT (VPORT_CONTROL)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '32' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:327:1: note: in expansion of macro 'DWG_OBJECT'
  327 | DWG_OBJECT (VX_CONTROL)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '16' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:329:1: note: in expansion of macro 'DWG_OBJECT'
  329 | DWG_OBJECT (WIPEOUTVARIABLES)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:331:1: note: in expansion of macro 'DWG_OBJECT'
  331 | DWG_OBJECT (PDFDEFINITION)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:332:1: note: in expansion of macro 'DWG_OBJECT'
  332 | DWG_OBJECT (DGNDEFINITION)
      | ^~~~~~~~~~
in_dxf.h:148:10: error: allocation of insufficient size '24' for type 'Dwg_Object_APPID' {aka 'struct _dwg_object_APPID'} with size '48' [-Werror=alloc-size]
  148 |     _obj = calloc (1, sizeof (Dwg_Object_##token));                           \
      |          ^
in_dxf.c:8769:19: note: in expansion of macro 'ADD_OBJECT'
 8769 |                   ADD_OBJECT (token);       \
      |                   ^~~~~~~~~~
objects.inc:333:1: note: in expansion of macro 'DWG_OBJECT'
  333 | DWG_OBJECT (DWFDEFINITION)
      | ^~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:735: in_dxf.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
encode.c: In function 'downconvert_MLEADERSTYLE':
encode.c:7471:23: error: allocation of insufficient size '3' for type 'Dwg_Eed_Data' {aka 'struct _dwg_entity_eed_data'} with size '25' [-Werror=alloc-size]
 7471 |   oo->eed[idx].data = (Dwg_Eed_Data *)calloc (3, 1);
      |                       ^
encode.c: In function 'downconvert_DIMSTYLE':
encode.c:7562:27: error: allocation of insufficient size '20' for type 'Dwg_Eed_Data' {aka 'struct _dwg_entity_eed_data'} with size '25' [-Werror=alloc-size]
 7562 |       oo->eed[idx].data = (Dwg_Eed_Data *)calloc (20, 1);
      |                           ^
encode.c:7570:27: error: allocation of insufficient size '2' for type 'Dwg_Eed_Data' {aka 'struct _dwg_entity_eed_data'} with size '25' [-Werror=alloc-size]
 7570 |       oo->eed[idx].data = (Dwg_Eed_Data *)calloc (2, 1);
      |                           ^
encode.c:7575:27: error: allocation of insufficient size '3' for type 'Dwg_Eed_Data' {aka 'struct _dwg_entity_eed_data'} with size '25' [-Werror=alloc-size]
 7575 |       oo->eed[idx].data = (Dwg_Eed_Data *)calloc (3, 1);
      |                           ^
encode.c:7581:27: error: allocation of insufficient size '3' for type 'Dwg_Eed_Data' {aka 'struct _dwg_entity_eed_data'} with size '25' [-Werror=alloc-size]
 7581 |       oo->eed[idx].data = (Dwg_Eed_Data *)calloc (3, 1);
      |                           ^
encode.c:7587:27: error: allocation of insufficient size '2' for type 'Dwg_Eed_Data' {aka 'struct _dwg_entity_eed_data'} with size '25' [-Werror=alloc-size]
 7587 |       oo->eed[idx].data = (Dwg_Eed_Data *)calloc (2, 1);
      |                           ^
encode.c:7607:27: error: allocation of insufficient size '3' for type 'Dwg_Eed_Data' {aka 'struct _dwg_entity_eed_data'} with size '25' [-Werror=alloc-size]
 7607 |       oo->eed[idx].data = (Dwg_Eed_Data *)calloc (3, 1);
      |                           ^
encode.c:7614:27: error: allocation of insufficient size '9' for type 'Dwg_Eed_Data' {aka 'struct _dwg_entity_eed_data'} with size '25' [-Werror=alloc-size]
 7614 |       oo->eed[idx].data = (Dwg_Eed_Data *)calloc (9, 1);
      |                           ^
encode.c:7633:27: error: allocation of insufficient size '3' for type 'Dwg_Eed_Data' {aka 'struct _dwg_entity_eed_data'} with size '25' [-Werror=alloc-size]
 7633 |       oo->eed[idx].data = (Dwg_Eed_Data *)calloc (3, 1);
      |                           ^
encode.c:7640:27: error: allocation of insufficient size '3' for type 'Dwg_Eed_Data' {aka 'struct _dwg_entity_eed_data'} with size '25' [-Werror=alloc-size]
 7640 |       oo->eed[idx].data = (Dwg_Eed_Data *)calloc (3, 1);
      |                           ^
cc1: all warnings being treated as errors
make[4]: *** [Makefile:735: encode.lo] Error 1
make[4]: Leaving directory '/home/aurora/fedora-src/libredwg/src'
make[3]: *** [Makefile:754: all-recursive] Error 1
make[3]: Leaving directory '/home/aurora/fedora-src/libredwg/src'
make[2]: *** [Makefile:596: all] Error 2
make[2]: Leaving directory '/home/aurora/fedora-src/libredwg/src'
make[1]: *** [Makefile:712: all-recursive] Error 1
make[1]: Leaving directory '/home/aurora/fedora-src/libredwg'
make: *** [Makefile:591: all] Error 2

from libredwg.

rurban avatar rurban commented on June 22, 2024

Oh, normally it's the uneven gcc numbers which are broken. But this is 14.
This requires --disable-werror now for sure

from libredwg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.