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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 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: <416096c60910110940s4ab76378o81a631dac4b5669a@mail.gmail.com>
References: <1962f7960910110923m65e71070oec8f5eec26da114a AT mail DOT gmail DOT com> <416096c60910110940s4ab76378o81a631dac4b5669a AT mail DOT gmail DOT com>
From: Salvatore Santagati <salvatore DOT santagati AT gmail DOT com>
Date: Sun, 11 Oct 2009 18:45:28 +0200
Message-ID: <1962f7960910110945g4041b45bu5c8663a17cf0e07f@mail.gmail.com>
Subject: Re: [warning: implicit declaration of function] if enable flag std=c99
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

Nope, but under Linux works as well ( with and without std=3Dc99 ) ,
under cygwin if enable std=3Dc99
I've these type of warning ( source code here is only an example )

anyway if i am off topic sorry

Salvatore



On Sun, Oct 11, 2009 at 6:40 PM, Andy Koppe <andy DOT koppe AT gmail DOT com> wrote:
>> I've tried to compile a source code[1] with this flags
>> "-D_FILE_OFFSET_BITS=3D64 -pedantic -Wconversion -Wpointer-arith
>> -Wcast-align -std=3Dc99" and output is
>>
>> lfs.c: In function 'main':
>> lfs.c:26: warning: implicit declaration of function 'fseeko'
>> lfs.c:28: warning: implicit declaration of function 'ftello'
>
> And? Do you expect people here to debug some random program for you?
>
> --
> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html
> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:=
//cygwin.com/faq/
> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html
> Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s=
imple
>
>

--
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