• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can't Compile cpp file from editor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't Compile cpp file from editor?


  • Subject: Re: Can't Compile cpp file from editor?
  • From: "David M. Cotter" <email@hidden>
  • Date: Wed, 28 Oct 2009 10:28:36 -0700

this has been a problem since the beginning. we've complained about it for years. i think Apple just doesn't care about it the way we do, so they continue to prioritize it off the list. still drives me nuts. i miss CodeWarrior.

Hi all,

I'm seeing strange behavior in Xcode (3.1.3 under OS X 10.5.8). I can build my C++ project with no problem, and I can compile most .cpp files individually. But at least one of my .cpp files will only compile if I do it from the Build menu after selecting it in the "Groups & Files" list. When I'm working on that file in any editor, the Compile menu item is grayed out, and command-K just beeps. The file is included in the project, and has the Target checkbox checked, and it builds fine, but it won't allow me to simply Compile it when editing (which I like to do for syntax checks regularly). Other files (at least several that I've checked) compile with no problem.

Any thoughts on how/why this happens? I've tried closing and re- opening the file from the Groups & Files list, but no luck. I'm stumped.

Thanks,
	-Howard

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Can't Compile cpp file from editor?
      • From: "Paul Sanders" <email@hidden>
References: 
 >Can't Compile cpp file from editor? (From: Howard Moon <email@hidden>)

  • Prev by Date: Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock
  • Next by Date: Re: Can't Compile cpp file from editor?
  • Previous by thread: Can't Compile cpp file from editor?
  • Next by thread: Re: Can't Compile cpp file from editor?
  • Index(es):
    • Date
    • Thread