+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/libredwg-0.12.4nb9/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/libredwg-0.12.4nb9/work.log
===> Building for libredwg-0.12.4nb9
--- all ---
/opt/pkg/bin/bmake  all-recursive
--- all-recursive ---
Making all in src
--- all ---
/opt/pkg/bin/bmake  all-am
--- dwg.lo ---
--- common.lo ---
--- bits.lo ---
--- decode.lo ---
--- dwg.lo ---
  CC       dwg.lo
--- common.lo ---
  CC       common.lo
--- bits.lo ---
  CC       bits.lo
--- decode.lo ---
  CC       decode.lo
--- common.lo ---
../include/dwg.h:1782:13: error: expected identifier or '(' before numeric constant
 1782 |   BITCODE_H sun;
      |             ^~~
In file included from common.h:31,
                 from common.c:22:
../include/dwg.h:1783:1: warning: no semicolon at end of struct or union
 1783 | } Dwg_Entity_VIEWPORT;
      | ^
../include/dwg.h:2392:13: error: expected identifier or '(' before numeric constant
 2392 |   BITCODE_H sun;
      |             ^~~
../include/dwg.h:2489:13: error: expected identifier or '(' before numeric constant
 2489 |   BITCODE_H sun;
      |             ^~~
--- decode.lo ---
../include/dwg.h:1782:13: error: expected identifier or '(' before numeric constant
 1782 |   BITCODE_H sun;
      |             ^~~
In file included from common.h:31,
                 from decode.c:36:
../include/dwg.h:1783:1: warning: no semicolon at end of struct or union
 1783 | } Dwg_Entity_VIEWPORT;
      | ^
../include/dwg.h:2392:13: error: expected identifier or '(' before numeric constant
 2392 |   BITCODE_H sun;
      |             ^~~
../include/dwg.h:2489:13: error: expected identifier or '(' before numeric constant
 2489 |   BITCODE_H sun;
      |             ^~~
--- dwg.lo ---
../include/dwg.h:1782:13: error: expected identifier or '(' before numeric constant
 1782 |   BITCODE_H sun;
      |             ^~~
In file included from common.h:31,
                 from bits.h:50,
                 from dwg.c:35:
../include/dwg.h:1783:1: warning: no semicolon at end of struct or union
 1783 | } Dwg_Entity_VIEWPORT;
      | ^
../include/dwg.h:2392:13: error: expected identifier or '(' before numeric constant
 2392 |   BITCODE_H sun;
      |             ^~~
../include/dwg.h:2489:13: error: expected identifier or '(' before numeric constant
 2489 |   BITCODE_H sun;
      |             ^~~
--- bits.lo ---
../include/dwg.h:1782:13: error: expected identifier or '(' before numeric constant
 1782 |   BITCODE_H sun;
      |             ^~~
In file included from common.h:31,
                 from bits.h:50,
                 from bits.c:45:
../include/dwg.h:1783:1: warning: no semicolon at end of struct or union
 1783 | } Dwg_Entity_VIEWPORT;
      | ^
../include/dwg.h:2392:13: error: expected identifier or '(' before numeric constant
 2392 |   BITCODE_H sun;
      |             ^~~
../include/dwg.h:2489:13: error: expected identifier or '(' before numeric constant
 2489 |   BITCODE_H sun;
      |             ^~~
--- common.lo ---
*** [common.lo] Error code 1

bmake[3]: stopped making "all-am" in /home/pbulk/build/cad/libredwg/work/libredwg-0.12.4/src
--- bits.lo ---
*** [bits.lo] Error code 1

bmake[3]: stopped making "all-am" in /home/pbulk/build/cad/libredwg/work/libredwg-0.12.4/src
--- dwg.lo ---
*** [dwg.lo] Error code 1

bmake[3]: stopped making "all-am" in /home/pbulk/build/cad/libredwg/work/libredwg-0.12.4/src
--- decode.lo ---
In file included from decode.c:69:
dwg.spec: In function 'dwg_decode_VIEWPORT_private':
dwg.spec:1823:19: error: expected identifier before numeric constant
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |                   ^~~
dec_macros.h:257:7: note: in definition of macro 'VALUE_HANDLE'
  257 |       ref = dwg_decode_handleref_with_code (hdl_dat, obj, dwg, code);         \
      |       ^~~
dwg.spec:1823:5: note: in expansion of macro 'FIELD_HANDLE'
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |     ^~~~~~~~~~~~
dwg.spec:1823:19: error: expected identifier before numeric constant
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |                   ^~~
dec_macros.h:259:7: note: in definition of macro 'VALUE_HANDLE'
  259 |       ref = dwg_decode_handleref (hdl_dat, obj, dwg);                         \
      |       ^~~
dwg.spec:1823:5: note: in expansion of macro 'FIELD_HANDLE'
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |     ^~~~~~~~~~~~
dwg.spec:1823:19: error: expected identifier before numeric constant
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |                   ^~~
dec_macros.h:262:13: note: in definition of macro 'VALUE_HANDLE'
  262 |         if (ref)                                                              \
      |             ^~~
dwg.spec:1823:5: note: in expansion of macro 'FIELD_HANDLE'
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |     ^~~~~~~~~~~~
In file included from decode.c:68:
dwg.spec:1823:19: error: expected identifier before numeric constant
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |                   ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:1823:5: note: in expansion of macro 'FIELD_HANDLE'
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |     ^~~~~~~~~~~~
dwg.spec:1823:19: error: expected identifier before numeric constant
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |                   ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:1823:5: note: in expansion of macro 'FIELD_HANDLE'
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |     ^~~~~~~~~~~~
dwg.spec:1823:19: error: expected identifier before numeric constant
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |                   ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:1823:5: note: in expansion of macro 'FIELD_HANDLE'
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |     ^~~~~~~~~~~~
dwg.spec:1823:19: error: expected identifier before numeric constant
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |                   ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:1823:5: note: in expansion of macro 'FIELD_HANDLE'
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |     ^~~~~~~~~~~~
dwg.spec:1823:19: error: expected identifier before numeric constant
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |                   ^~~
dec_macros.h:265:45: note: in definition of macro 'VALUE_HANDLE'
  265 |             if (dwg_ref_object_silent (dwg, ref)                              \
      |                                             ^~~
dwg.spec:1823:5: note: in expansion of macro 'FIELD_HANDLE'
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |     ^~~~~~~~~~~~
dwg.spec:1823:19: error: expected identifier before numeric constant
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |                   ^~~
dec_macros.h:268:56: note: in definition of macro 'VALUE_HANDLE'
  268 |                 const char *u8 = dwg_ref_tblname (dwg, ref);                  \
      |                                                        ^~~
dwg.spec:1823:5: note: in expansion of macro 'FIELD_HANDLE'
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |     ^~~~~~~~~~~~
dwg.spec:1823:19: error: expected identifier before numeric constant
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |                   ^~~
dec_macros.h:269:69: note: in definition of macro 'VALUE_HANDLE'
  269 |                 HANDLER (OUTPUT, " => %s %s", dwg_ref_objname (dwg, ref), u8);\
      |                                                                     ^~~
dwg.spec:1823:5: note: in expansion of macro 'FIELD_HANDLE'
 1823 |     FIELD_HANDLE (sun, 3, 361);
      |     ^~~~~~~~~~~~
dwg.spec: In function 'dwg_decode_VIEW_private':
dwg.spec:3319:20: error: expected identifier before numeric constant
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |                    ^~~
dec_macros.h:257:7: note: in definition of macro 'VALUE_HANDLE'
  257 |       ref = dwg_decode_handleref_with_code (hdl_dat, obj, dwg, code);         \
      |       ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3319:5: note: in expansion of macro 'FIELD_HANDLE0'
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |     ^~~~~~~~~~~~~
dwg.spec:3319:20: error: expected identifier before numeric constant
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |                    ^~~
dec_macros.h:259:7: note: in definition of macro 'VALUE_HANDLE'
  259 |       ref = dwg_decode_handleref (hdl_dat, obj, dwg);                         \
      |       ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3319:5: note: in expansion of macro 'FIELD_HANDLE0'
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |     ^~~~~~~~~~~~~
dwg.spec:3319:20: error: expected identifier before numeric constant
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |                    ^~~
dec_macros.h:262:13: note: in definition of macro 'VALUE_HANDLE'
  262 |         if (ref)                                                              \
      |             ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3319:5: note: in expansion of macro 'FIELD_HANDLE0'
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |     ^~~~~~~~~~~~~
dwg.spec:3319:20: error: expected identifier before numeric constant
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |                    ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3319:5: note: in expansion of macro 'FIELD_HANDLE0'
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |     ^~~~~~~~~~~~~
dwg.spec:3319:20: error: expected identifier before numeric constant
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |                    ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3319:5: note: in expansion of macro 'FIELD_HANDLE0'
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |     ^~~~~~~~~~~~~
dwg.spec:3319:20: error: expected identifier before numeric constant
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |                    ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3319:5: note: in expansion of macro 'FIELD_HANDLE0'
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |     ^~~~~~~~~~~~~
dwg.spec:3319:20: error: expected identifier before numeric constant
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |                    ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3319:5: note: in expansion of macro 'FIELD_HANDLE0'
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |     ^~~~~~~~~~~~~
dwg.spec:3319:20: error: expected identifier before numeric constant
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |                    ^~~
dec_macros.h:265:45: note: in definition of macro 'VALUE_HANDLE'
  265 |             if (dwg_ref_object_silent (dwg, ref)                              \
      |                                             ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3319:5: note: in expansion of macro 'FIELD_HANDLE0'
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |     ^~~~~~~~~~~~~
dwg.spec:3319:20: error: expected identifier before numeric constant
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |                    ^~~
dec_macros.h:268:56: note: in definition of macro 'VALUE_HANDLE'
  268 |                 const char *u8 = dwg_ref_tblname (dwg, ref);                  \
      |                                                        ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3319:5: note: in expansion of macro 'FIELD_HANDLE0'
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |     ^~~~~~~~~~~~~
dwg.spec:3319:20: error: expected identifier before numeric constant
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |                    ^~~
dec_macros.h:269:69: note: in definition of macro 'VALUE_HANDLE'
  269 |                 HANDLER (OUTPUT, " => %s %s", dwg_ref_objname (dwg, ref), u8);\
      |                                                                     ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3319:5: note: in expansion of macro 'FIELD_HANDLE0'
 3319 |     FIELD_HANDLE0 (sun, 3, 361);
      |     ^~~~~~~~~~~~~
dwg.spec: In function 'dwg_decode_VPORT_private':
dwg.spec:3467:22: error: expected identifier before numeric constant
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |                      ^~~
dec_macros.h:257:7: note: in definition of macro 'VALUE_HANDLE'
  257 |       ref = dwg_decode_handleref_with_code (hdl_dat, obj, dwg, code);         \
      |       ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3467:7: note: in expansion of macro 'FIELD_HANDLE0'
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |       ^~~~~~~~~~~~~
dwg.spec:3467:22: error: expected identifier before numeric constant
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |                      ^~~
dec_macros.h:259:7: note: in definition of macro 'VALUE_HANDLE'
  259 |       ref = dwg_decode_handleref (hdl_dat, obj, dwg);                         \
      |       ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3467:7: note: in expansion of macro 'FIELD_HANDLE0'
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |       ^~~~~~~~~~~~~
dwg.spec:3467:22: error: expected identifier before numeric constant
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |                      ^~~
dec_macros.h:262:13: note: in definition of macro 'VALUE_HANDLE'
  262 |         if (ref)                                                              \
      |             ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3467:7: note: in expansion of macro 'FIELD_HANDLE0'
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |       ^~~~~~~~~~~~~
dwg.spec:3467:22: error: expected identifier before numeric constant
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |                      ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3467:7: note: in expansion of macro 'FIELD_HANDLE0'
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |       ^~~~~~~~~~~~~
dwg.spec:3467:22: error: expected identifier before numeric constant
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |                      ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3467:7: note: in expansion of macro 'FIELD_HANDLE0'
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |       ^~~~~~~~~~~~~
dwg.spec:3467:22: error: expected identifier before numeric constant
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |                      ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3467:7: note: in expansion of macro 'FIELD_HANDLE0'
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |       ^~~~~~~~~~~~~
dwg.spec:3467:22: error: expected identifier before numeric constant
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |                      ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3467:7: note: in expansion of macro 'FIELD_HANDLE0'
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |       ^~~~~~~~~~~~~
dwg.spec:3467:22: error: expected identifier before numeric constant
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |                      ^~~
dec_macros.h:265:45: note: in definition of macro 'VALUE_HANDLE'
  265 |             if (dwg_ref_object_silent (dwg, ref)                              \
      |                                             ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3467:7: note: in expansion of macro 'FIELD_HANDLE0'
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |       ^~~~~~~~~~~~~
dwg.spec:3467:22: error: expected identifier before numeric constant
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |                      ^~~
dec_macros.h:268:56: note: in definition of macro 'VALUE_HANDLE'
  268 |                 const char *u8 = dwg_ref_tblname (dwg, ref);                  \
      |                                                        ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3467:7: note: in expansion of macro 'FIELD_HANDLE0'
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |       ^~~~~~~~~~~~~
dwg.spec:3467:22: error: expected identifier before numeric constant
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |                      ^~~
dec_macros.h:269:69: note: in definition of macro 'VALUE_HANDLE'
  269 |                 HANDLER (OUTPUT, " => %s %s", dwg_ref_objname (dwg, ref), u8);\
      |                                                                     ^~~
spec.h:376:42: note: in expansion of macro 'FIELD_HANDLE'
  376 | #  define FIELD_HANDLE0(name, code, dxf) FIELD_HANDLE (name, code, dxf)
      |                                          ^~~~~~~~~~~~
dwg.spec:3467:7: note: in expansion of macro 'FIELD_HANDLE0'
 3467 |       FIELD_HANDLE0 (sun, 5, 361);
      |       ^~~~~~~~~~~~~
dwg.spec:3545:25: error: expected identifier before numeric constant
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |                         ^~~
dec_macros.h:257:7: note: in definition of macro 'VALUE_HANDLE'
  257 |       ref = dwg_decode_handleref_with_code (hdl_dat, obj, dwg, code);         \
      |       ^~~
dwg.spec:3545:11: note: in expansion of macro 'FIELD_HANDLE'
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |           ^~~~~~~~~~~~
dwg.spec:3545:25: error: expected identifier before numeric constant
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |                         ^~~
dec_macros.h:259:7: note: in definition of macro 'VALUE_HANDLE'
  259 |       ref = dwg_decode_handleref (hdl_dat, obj, dwg);                         \
      |       ^~~
dwg.spec:3545:11: note: in expansion of macro 'FIELD_HANDLE'
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |           ^~~~~~~~~~~~
dwg.spec:3545:25: error: expected identifier before numeric constant
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |                         ^~~
dec_macros.h:262:13: note: in definition of macro 'VALUE_HANDLE'
  262 |         if (ref)                                                              \
      |             ^~~
dwg.spec:3545:11: note: in expansion of macro 'FIELD_HANDLE'
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |           ^~~~~~~~~~~~
dwg.spec:3545:25: error: expected identifier before numeric constant
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |                         ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:3545:11: note: in expansion of macro 'FIELD_HANDLE'
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |           ^~~~~~~~~~~~
dwg.spec:3545:25: error: expected identifier before numeric constant
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |                         ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:3545:11: note: in expansion of macro 'FIELD_HANDLE'
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |           ^~~~~~~~~~~~
dwg.spec:3545:25: error: expected identifier before numeric constant
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |                         ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:3545:11: note: in expansion of macro 'FIELD_HANDLE'
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |           ^~~~~~~~~~~~
dwg.spec:3545:25: error: expected identifier before numeric constant
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |                         ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:3545:11: note: in expansion of macro 'FIELD_HANDLE'
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |           ^~~~~~~~~~~~
dwg.spec:3545:25: error: expected identifier before numeric constant
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |                         ^~~
dec_macros.h:265:45: note: in definition of macro 'VALUE_HANDLE'
  265 |             if (dwg_ref_object_silent (dwg, ref)                              \
      |                                             ^~~
dwg.spec:3545:11: note: in expansion of macro 'FIELD_HANDLE'
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |           ^~~~~~~~~~~~
dwg.spec:3545:25: error: expected identifier before numeric constant
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |                         ^~~
dec_macros.h:268:56: note: in definition of macro 'VALUE_HANDLE'
  268 |                 const char *u8 = dwg_ref_tblname (dwg, ref);                  \
      |                                                        ^~~
dwg.spec:3545:11: note: in expansion of macro 'FIELD_HANDLE'
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |           ^~~~~~~~~~~~
dwg.spec:3545:25: error: expected identifier before numeric constant
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |                         ^~~
dec_macros.h:269:69: note: in definition of macro 'VALUE_HANDLE'
  269 |                 HANDLER (OUTPUT, " => %s %s", dwg_ref_objname (dwg, ref), u8);\
      |                                                                     ^~~
dwg.spec:3545:11: note: in expansion of macro 'FIELD_HANDLE'
 3545 |           FIELD_HANDLE (sun, 3, 361);
      |           ^~~~~~~~~~~~
dwg.spec:3550:25: error: expected identifier before numeric constant
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |                         ^~~
dec_macros.h:257:7: note: in definition of macro 'VALUE_HANDLE'
  257 |       ref = dwg_decode_handleref_with_code (hdl_dat, obj, dwg, code);         \
      |       ^~~
dwg.spec:3550:11: note: in expansion of macro 'FIELD_HANDLE'
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |           ^~~~~~~~~~~~
dwg.spec:3550:25: error: expected identifier before numeric constant
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |                         ^~~
dec_macros.h:259:7: note: in definition of macro 'VALUE_HANDLE'
  259 |       ref = dwg_decode_handleref (hdl_dat, obj, dwg);                         \
      |       ^~~
dwg.spec:3550:11: note: in expansion of macro 'FIELD_HANDLE'
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |           ^~~~~~~~~~~~
dwg.spec:3550:25: error: expected identifier before numeric constant
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |                         ^~~
dec_macros.h:262:13: note: in definition of macro 'VALUE_HANDLE'
  262 |         if (ref)                                                              \
      |             ^~~
dwg.spec:3550:11: note: in expansion of macro 'FIELD_HANDLE'
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |           ^~~~~~~~~~~~
dwg.spec:3550:25: error: expected identifier before numeric constant
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |                         ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:3550:11: note: in expansion of macro 'FIELD_HANDLE'
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |           ^~~~~~~~~~~~
dwg.spec:3550:25: error: expected identifier before numeric constant
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |                         ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:3550:11: note: in expansion of macro 'FIELD_HANDLE'
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |           ^~~~~~~~~~~~
dwg.spec:3550:25: error: expected identifier before numeric constant
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |                         ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:3550:11: note: in expansion of macro 'FIELD_HANDLE'
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |           ^~~~~~~~~~~~
dwg.spec:3550:25: error: expected identifier before numeric constant
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |                         ^~~
logging.h:59:26: note: in definition of macro 'LOG'
   59 |         HANDLER (OUTPUT, args);                                               \
      |                          ^~~~
dec_macros.h:264:13: note: in expansion of macro 'LOG_TRACE'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |             ^~~~~~~~~
dec_macros.h:264:56: note: in expansion of macro 'ARGS_REF'
  264 |             LOG_TRACE (#nam ": " FORMAT_REF " [H %d]", ARGS_REF (ref), dxf);  \
      |                                                        ^~~~~~~~
dec_macros.h:282:38: note: in expansion of macro 'VALUE_HANDLE'
  282 | #define FIELD_HANDLE(nam, code, dxf) VALUE_HANDLE (_obj->nam, nam, code, dxf)
      |                                      ^~~~~~~~~~~~
dwg.spec:3550:11: note: in expansion of macro 'FIELD_HANDLE'
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |           ^~~~~~~~~~~~
dwg.spec:3550:25: error: expected identifier before numeric constant
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |                         ^~~
dec_macros.h:265:45: note: in definition of macro 'VALUE_HANDLE'
  265 |             if (dwg_ref_object_silent (dwg, ref)                              \
      |                                             ^~~
dwg.spec:3550:11: note: in expansion of macro 'FIELD_HANDLE'
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |           ^~~~~~~~~~~~
dwg.spec:3550:25: error: expected identifier before numeric constant
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |                         ^~~
dec_macros.h:268:56: note: in definition of macro 'VALUE_HANDLE'
  268 |                 const char *u8 = dwg_ref_tblname (dwg, ref);                  \
      |                                                        ^~~
dwg.spec:3550:11: note: in expansion of macro 'FIELD_HANDLE'
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |           ^~~~~~~~~~~~
dwg.spec:3550:25: error: expected identifier before numeric constant
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |                         ^~~
dec_macros.h:269:69: note: in definition of macro 'VALUE_HANDLE'
  269 |                 HANDLER (OUTPUT, " => %s %s", dwg_ref_objname (dwg, ref), u8);\
      |                                                                     ^~~
dwg.spec:3550:11: note: in expansion of macro 'FIELD_HANDLE'
 3550 |           FIELD_HANDLE (sun, 3, 361); //hard owner
      |           ^~~~~~~~~~~~
decode.c: At top level:
decode.c:656:1: warning: 'decode_preR13' defined but not used [-Wunused-function]
  656 | decode_preR13 (Bit_Chain *restrict dat, Dwg_Data *restrict dwg)
      | ^~~~~~~~~~~~~
*** [decode.lo] Error code 1

bmake[3]: stopped making "all-am" in /home/pbulk/build/cad/libredwg/work/libredwg-0.12.4/src
bmake[3]: 4 errors

bmake[3]: stopped making "all-am" in /home/pbulk/build/cad/libredwg/work/libredwg-0.12.4/src

bmake[2]: stopped making "all" in /home/pbulk/build/cad/libredwg/work/libredwg-0.12.4/src

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/cad/libredwg/work/libredwg-0.12.4

bmake: stopped making "all" in /home/pbulk/build/cad/libredwg/work/libredwg-0.12.4
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/cad/libredwg
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/cad/libredwg