------- Comment #3 from bruno at clisp dot org  2010-04-24 23:54 -------
When the line
  static int (*safe_close) (int fd) = close;
is changed to
  static int (*safe_close) (int fd) = ((void)0, close);
the warning also disappears, but then the generate code is suboptimal:
the variable safe_close is not eliminated from the 'data' section.
Therefore I cannot use this as a workaround.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881

Reply via email to