User forums > Help

C 99

(1/3) > >>

ANIRBAN GHOSH:
I have the latest build March 17. So what I have to do to get the support for C99 in my C programs?

Russell:
Not entirely sure whether this will help or not, also presuming you use mingw/gcc

1) rename all files to a .c extension
2) use -pedantic
3) check http://gcc.gnu.org/c99status.html for anything that you use that might be broken.

AmR EiSa:

--- Quote from: Russell on March 18, 2007, 08:27:39 am ---1) rename all files to a .c extension

--- End quote ---

Why ?

ANIRBAN GHOSH:
Cannot get u all. Rename files to .C??? Why a C file have an extension other than .C

Should I have to turn any option on in compiler setting? I am using mingw.

Biplab:
My guess, Russel assumed that you'll be using a filename with .c99 extension or so. I'm not sure, but I guess so. If you are using any such extension, then rename them to .c


--- Quote from: ANIRBAN GHOSH on March 18, 2007, 03:53:36 pm ---Should I have to turn any option on in compiler setting? I am using mingw.

--- End quote ---

Yes, again from Russel's post, -pedantic compiler options should be used.

Regards,

Biplab

Navigation

[0] Message Index

[#] Next page

Go to full version