This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __STRICT_ANSI__ with -std=c99


On 2010.03.22 15:34, Greg Chicares wrote:
On 2010-03-22 13:03Z, Oleksandr Gavenko wrote:

$ gcc -std=c99 -c -o grid.o grid.c
[...]
grid.c:236: warning: implicit declaration of function 'strupr'.

I'd expect that warning, because C99 defines no strupr() function.


Ok.

But that the way to say to gcc use extended functions?

By -std=gnu99? This function available only if
exist corresponding prototype in header and libc
contain func realization.

As I know libc and system header is not always part of GCC.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]