Dave Korn wrote:
> If you use --std=c99, that means you want *only* c99 functions, and have
> specifically asked to be warned about non-ANSI functions. I don't
> understand why Linux does things differently, it's probably technically
> wrong but trying to be helpful,
It's being POSIX complian
Andy Koppe wrote:
> 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
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. Us
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 )
anyway if i am off topic sorry
Salvatore
On Sun, Oct 11, 2009 at 6:40 PM, Andy Koppe wrote:
>> I've tried to compile a source co
> 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
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
6 matches
Mail list logo