User forums > Using Code::Blocks
newbi on mac osx
(1/1)
jrockbk:
sorry if this is a dumb question but ive been searching for a solution and cant find help. I have c::b 10.05 on mac osx 10.6.4, i installed the mac developer toolkit like xcode and all that stuff, i chose gnu compiler to use and when i try the build and run a super simple program it shows me 0 errors an 1 warning "||warning: command line option "-std=c++98" is valid for C++/ObjC++ but not for C|"
when i try to run it tells me the program hasn't been built would i like to build it. I click yes and it ask all over again then i click yes and nothing happens from there, can anybody help me
oBFusCATed:
Read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
and the C::B's manual...
stahta01:
Remember Code::Blocks considers an file with the extension ".c" a "C" Language file NOT a "C++" Language file.
Tim S.
Navigation
[0] Message Index
Go to full version