Autoconf 2.59 chooses __restrict on HP-UX 11.x. Indeed, the following
works:
  $ cat a.c
void
foo (int var) {
  float * __restrict x;
}

However, this fails:
  $ cat a.c
void
foo (int __restrict var) {
  float * __restrict x;
}
  $ cc -c a.c
cc: "a.c", line 2: error 1671: Illegal use of restrict.

Should AC_C_RESTRICT be updated to include a function call with
restrict in the parameter list to catch the above?

-- 
albert chin ([EMAIL PROTECTED])


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to