in this case the issue is that ```fname[]``` contains no size information. This one works: ``` #define MAXPATHLEN 1024 %{^ #define MAXPATHLEN 1024 #define atstyarr_field_undef(fname) fname[MAXPATHLEN] %} // end of [%{]
typedef kld_file_stat = @{ version = int, name = @[char][MAXPATHLEN], refs = int } ``` but I can't say how to make size not hardcoded -- You received this message because you are subscribed to the Google Groups "ats-lang-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/CAHjn2KyP8xrSEVVm-eMFjL0STzf8ytkBN-3NqTW0_jv7aDxd2A%40mail.gmail.com.