delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/11/12:58:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <1962f7960910110945g4041b45bu5c8663a17cf0e07f@mail.gmail.com>
References: <1962f7960910110923m65e71070oec8f5eec26da114a AT mail DOT gmail DOT com> <416096c60910110940s4ab76378o81a631dac4b5669a AT mail DOT gmail DOT com> <1962f7960910110945g4041b45bu5c8663a17cf0e07f AT mail DOT gmail DOT com>
Date: Sun, 11 Oct 2009 17:58:28 +0100
Message-ID: <416096c60910110958v4692ec82v2b4f845a8e63947b@mail.gmail.com>
Subject: Re: [warning: implicit declaration of function] if enable flag std=c99
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

2009/10/11 Salvatore Santagati:
> Nope, but under Linux works as well ( with and without std=c99 ) ,
> under cygwin if enable std=c99
> I've these type of warning ( source code here is only an example )

Seems Linux has got it wrong then, because ftello and fseeko are not
standard C99 functions. Use -std=gnu99 to enable GNU extensions.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019