Hi all, There's a bug in the autoconf macros that cause the compile to fail on Sun Studio 9. One of the tests (empty array support) is not escaped properly, so the macro int bar[0] expands to int bar0, which won't exactly test what it needs to be testing...
Patch below. (basically put the bar[0] brackets within brackets.) ******************************************************************************** --- acinclude.m4.orig 2005-11-21 17:13:48.214828000 -0600 +++ acinclude.m4 2005-11-21 17:12:51.172087000 -0600 @@ -19,7 +19,7 @@ AC_MSG_RESULT([checking for C compiler empty array support]) AC_COMPILE_IFELSE( [ - struct { int foo; int bar[0]; } mystruct; + struct { int foo; int bar[[0]]; } mystruct; ], [ AC_DEFINE_UNQUOTED(EMPTY_ARRAY_SIZE, 0, [Dimension to use for empty array declaration]) ], [ ******************************************************************************** I checked trunk in svn last night and noticed the same problem. It's be nice if this change could be included. Please CC me on any additional correspondence as I am not on the mailing list. Thanks! David -- David Stipp <dst...@coolhack.net>