Commit 9d5fbeaa authored by Niels Möller's avatar Niels Möller

(lsh_cv_c_attribute): Consider __FUNCTION__ broken

in gcc-3.

Rev: configure.in:1.128
parent 8de3d60a
......@@ -637,7 +637,10 @@ fi
AC_CACHE_CHECK(for __FUNCTION__,
lsh_cv_c_FUNCTION,
[ AC_TRY_COMPILE(,
[ void foo(void) { char c = __FUNCTION__[0]; } ],
[ #if __GNUC__ == 3
# error __FUNCTION__ is broken in gcc-3
#endif
void foo(void) { char c = __FUNCTION__[0]; } ],
lsh_cv_c_FUNCTION=yes,
lsh_cv_c_FUNCTION=no)])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment