RE: [Dev-C++] clrscr() and c99 compatibility
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2002-10-03 20:49:42
|
Well i am talking about the latest MINGW:
#include <stdio.h>
int main(void)
{
long long x=1;
printf("%lld\n", x);
}
C:\c>gcc -std=c99 -pedantic-errors temp.c -o temp
C:\c>temp
1
C:\c>
Btw, do you really like C99?
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
P.S.: The list unsubscribes me at will. If someone sent a message for me
in the list, please resend (at least with personal email).
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of Matthews
> Sent: Thursday, October 03, 2002 12:52 AM
> To: dev...@li...
> Subject: RE: [Dev-C++] clrscr() and c99 compatibility
>
>
> After adding the -std=c99 option to my project's compiler
> options, it gave
> me the compiler error "Unknown C standard: c99" And it still
> didn't work.
>
> At 01:39 PM 26/09/2002 +0300, you wrote:
> >> -----Original Message-----
> >> From: Matthews [mailto:dem...@uw...]
> >> Sent: Thursday, September 26, 2002 1:02 AM
> >> To: no...@ho...
> >> Subject: Re: [Dev-C++] clrscr() and c99 compatibility
> >>
> >>
> >> So what exactly do I have to do with this "std=c99" switch?
> >> Do I put it on
> >> the compiler command line?
> >
> >
> >Yes you will have to add -std=c99 as an additional command line
> >parameter, if you want to use C99 for your .c files.
> >
> >
> >Ioannis
> >
> >* Ioannis Vranos
> >* Programming pages: http://www.noicys.cjb.net
> >* Alternative URL: http://run.to/noicys
> >
> >
>
>
>
|