public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: FX Coudert <fxcoudert@gmail.com>
To: GFORTRAN list <fortran@gcc.gnu.org>,
	 GCC-patches list <gcc-patches@gcc.gnu.org>
Subject: [libgfortran,committed] Have libgfortran.h include <stdarg.h>
Date: Mon, 30 Jul 2007 13:39:00 -0000	[thread overview]
Message-ID: <F03321B1-2A65-48D1-8EBE-78547543171C@gmail.com> (raw)

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

                 reply	other threads:[~2007-07-30 13:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F03321B1-2A65-48D1-8EBE-78547543171C@gmail.com \
    --to=fxcoudert@gmail.com \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).