On Fri, 2008-06-13 at 00:12 -0700, Woonsan Ko wrote:
Hi Timo,
Thank you very much for quick response. I have just tested with your new package, but they print other errors during `make':
make' after
configure'Error 239: "str-find.c", line 17 # A struct/union shall not contain a member with incomplete type. int goodtab[]; ^^^^^^^
This is valid C99 code. I don't think I want to change it just to support one rarely used compiler. You could change it to [1] and it should work just as well (same for lib-imap/imap-match.c).
make' after
configure CC=/opt/aCC/bin/aCC -AC99'Error 20: "mempool-alloconly.c", line 83 # '<number>' expected before '.'. MEMBER(v) &static_alloconly_pool_vfuncs, ^^^^^^
MEMBER() macro is defined in src/macros.h:
/* C99-style struct member definitions */ #if (defined(__STDC__) && __STDC_VERSION__ >= 199901L) || __GNUC__ > 2 # define MEMBER(name) .name = #else # define MEMBER(name) #endif
So apparently HP-UX lies that it supports C99 even though it doesn't actually? I could change that #ifdef, but I don't know what would be a good check for HP-UX.