This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[libgfortran,committed] Have libgfortran.h include <stdarg.h>


This patch, committed as rev. 127060, fixes bootstrap on i386-pc- minw32; without including <stdarg.h>, compilation of the library fails with gfortran choking on the st_vprintf prototype, which contains va_list (although I wondered why it doesn't appear on linux). Committed after bootstrap on both i386-mingw32 and i686-linux.

FX



Index: ChangeLog
===================================================================
--- ChangeLog   (revision 127059)
+++ ChangeLog   (working copy)
@@ -1,3 +1,7 @@
+2007-07-30  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * libgfortran.h: Include <stdarg.h>.
+
2007-07-29  Thomas Koenig  <tkoenig@gcc.gnu.org>
        PR libfortran/32858
Index: libgfortran.h
===================================================================
--- libgfortran.h       (revision 127059)
+++ libgfortran.h       (working copy)
@@ -35,6 +35,7 @@ Boston, MA 02110-1301, USA.  */
#include <math.h>
#include <stddef.h>
#include <float.h>
+#include <stdarg.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846264338327


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]