X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 From: Salvatore Santagati Date: Sun, 11 Oct 2009 18:23:58 +0200 Message-ID: <1962f7960910110923m65e71070oec8f5eec26da114a@mail.gmail.com> Subject: [warning: implicit declaration of function] if enable flag std=c99 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi I've tried to compile a source code[1] with this flags "-D_FILE_OFFSET_BITS=64 -pedantic -Wconversion -Wpointer-arith -Wcast-align -std=c99" 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' My Cygwin version is : CYGWIN_NT-5.1 sal 1.7.0(0.214/5/3) 2009-10-03 14:33 i686 Cygwin My GCC version is : Using built-in specs. Target: i686-pc-cygwin Configured with: /gnu/gcc/releases/packaging/4.3.4-1/gcc4-4.3.4-1/src/gcc-4.3.4/ configure --srcdir=/gnu/gcc/releases/packaging/4.3.4-1/gcc4-4.3.4-1/src/gcc-4.3. 4 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libex ecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --inf odir=/usr/share/info --mandir=/usr/share/man --datadir=/usr/share --infodir=/usr /share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --disabl e-bootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin --lib execdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --enable -__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exception s --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --ena ble-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sub libs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TA RGET=gnatmake GNATBIND_FOR_TARGET=gnatbind AS=/opt/gcc-tools/bin/as.exe AS_FOR_T ARGET=/opt/gcc-tools/bin/as.exe LD=/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=/opt/ gcc-tools/bin/ld.exe --with-ecj-jar=/usr/share/java/ecj.jar Thread model: posix gcc version 4.3.4 20090804 (release) 1 (GCC) [1] - http://pastebin.ca/1612760 Salvatore -- 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