From lgautier at gmail.com  Sun Jan 27 15:49:42 2008
From: lgautier at gmail.com (Laurent Gautier)
Date: Sun, 27 Jan 2008 15:49:42 +0100
Subject: [Rd] Strict-prototypes definitions in R includes
Message-ID: <27d1e6020801270649y16e65f13o8bc400591aceb2f2@mail.gmail.com>

  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



[Rd] Strict-prototypes definitions in R includes
Laurent Gautier