Re: test-func failure on Solaris

2009-08-27 Thread Simon Josefsson
Bruno Haible writes: > On Solaris/x86, with SunPRO C 5.9, the test-func test fails. The reason > is that > sizeof __func__ > evaluates to 0. The compiler warns about it: > "test-func.c", line 40: warning: null dimension: sizeof() > > What to do? m4/func.m4 could defined __func__ to a dummy.

test-func failure on Solaris

2009-08-27 Thread Bruno Haible
On Solaris/x86, with SunPRO C 5.9, the test-func test fails. The reason is that sizeof __func__ evaluates to 0. The compiler warns about it: "test-func.c", line 40: warning: null dimension: sizeof() What to do? m4/func.m4 could defined __func__ to a dummy. But that's too much damage IMO. Bett