Bringing this up to the list, because this is an interesting output from
gsc and the file attachment feature of github doesn't work.
So I have this file which is the compiled output of gxc for srfi-14, with
some optimizations applied (namely inlining of struct ops in this case).
This results to gsc generating a bunch of cascading redefinitions, which
result in gcc warnings.
> gsc 14__0.scm
14__0.c:337:0: warning: "___SYM__3a_char_2d_set3224" redefined
#define ___SYM__3a_char_2d_set3224 ___SYM(3,___S__3a_char_2d_set3224)
^
14__0.c:336:0: note: this is the location of the previous definition
#define ___SYM__3a_char_2d_set3224 ___SYM(2,___S__3a_char_2d_set3224)
^
14__0.c:338:0: warning: "___SYM__3a_char_2d_set3224" redefined
#define ___SYM__3a_char_2d_set3224 ___SYM(4,___S__3a_char_2d_set3224)
^
14__0.c:337:0: note: this is the location of the previous definition
#define ___SYM__3a_char_2d_set3224 ___SYM(3,___S__3a_char_2d_set3224)
^
14__0.c:339:0: warning: "___SYM__3a_char_2d_set3224" redefined
#define ___SYM__3a_char_2d_set3224 ___SYM(5,___S__3a_char_2d_set3224)
^
14__0.c:338:0: note: this is the location of the previous definition
#define ___SYM__3a_char_2d_set3224 ___SYM(4,___S__3a_char_2d_set3224)
^
So what's up with that?
-- vyzo