I just upgraded to Mountain Lion, and now
g++, etc. are
not found when trying to launch them in Terminal.
So I went to Xcode Preferences, Downloads, and clicked "Install" next to Command Line Tools.
It asked me for my Apple ID, which is weird and unnecessary, but I entered it anyway. Note that I am a registered Mac OS X and iOS developer (so I pay 2x $99 per year).
Much to my surprise, it tells me:
Um, what?! And why is it asking?