Author Topic: newbi on mac osx  (Read 2713 times)

jrockbk

  • Guest
newbi on mac osx
« on: September 17, 2010, 05:07:33 am »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: newbi on mac osx
« Reply #1 on: September 17, 2010, 09:29:45 am »
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: newbi on mac osx
« Reply #2 on: September 18, 2010, 03:54:32 pm »
Remember Code::Blocks considers an file with the extension ".c" a "C" Language file NOT a "C++" Language file.

Tim S. 
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org