User forums > Using Code::Blocks

C::B compiles in K&R C and not ANSI C...?

<< < (5/7) > >>

MortenMacFly:

--- Quote from: LiK on May 20, 2009, 07:54:01 pm ---Seems like it cannot see that my file is a C file (despite the fact that its .c)

--- End quote ---
Look at the file's (!) properties what compiler environment is selected there. Maybe you changed that by accident.

LiK:
what do u mean? where do i find this?
file-> properties? (nothing strange there..)


Thank you

MortenMacFly:

--- Quote from: LiK on May 21, 2009, 02:43:20 pm ---what do u mean? where do i find this?

--- End quote ---
File -> properties -> tab "advanced" -> compiler variable and compiler. Do *not* modify just post what's written there.

LiK:
erm.... nothing?!!

check the image attached

[attachment deleted by admin]

MortenMacFly:

--- Quote from: LiK on May 22, 2009, 12:22:01 am ---erm.... nothing?!!

--- End quote ---
...but you*did* create a project? Or do you try to compile a single file? If so - create a project. ;-)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version