public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [libgfortran,committed] Have libgfortran.h include <stdarg.h>
@ 2007-07-30 13:39 FX Coudert
  0 siblings, 0 replies; only message in thread
From: FX Coudert @ 2007-07-30 13:39 UTC (permalink / raw)
  To: GFORTRAN list, GCC-patches list

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-30 13:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-30 13:39 [libgfortran,committed] Have libgfortran.h include <stdarg.h> FX Coudert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).