Dear list,

  Whenever the flag "-Wstrict-prototypes" is set in gcc, compiling code that
includes headers in lib/R/include generates often warnings
(example with R-2.6.1:
Rinternals.h:560: warning: function declaration isn't a prototype
).

  All such warnings I looked at were about functions with empty
signatures declared
as "bar foo();" rather than "bar foo(void);". Is there a reason, or is
this just an oversight in the include files ?

  Thanks,


Laurent

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to