• 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: using namespace in xcode and dev-c++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using namespace in xcode and dev-c++


  • Subject: Re: using namespace in xcode and dev-c++
  • From: Marshall Clow <email@hidden>
  • Date: Thu, 30 Mar 2006 08:38:08 -0800

At 8:35 AM -0800 3/30/06, David Dunham wrote:
On 30 Mar 2006, at 07:23, Jeffery Shipman wrote:

I am trying to hammer out a couple differences between compilers. I use xcode and dev-c++. The use of namespace is different between the two compilers.

In Dev-C++ you may put the following in a .h or .cpp file

#include "globalstuff.h"
using namespace globalstuff.h;

I've compiled the same namespace-using code with Visual C++, CodeWarrior, and gcc, so you must be doing something wrong. It might be a mail-based typo, but namespaces don't usually have ".h" in their name...

Don't namespaces have to be valid identifiers? [ No periods, commas, etc ] -- -- Marshall

Marshall Clow     Idio Software   <mailto:email@hidden>

It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
_______________________________________________
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


References: 
 >using namespace in xcode and dev-c++ (From: Jeffery Shipman <email@hidden>)
 >Re: using namespace in xcode and dev-c++ (From: David Dunham <email@hidden>)

  • Prev by Date: Re: using namespace in xcode and dev-c++
  • Next by Date: Re: what's supposed to get stripped?
  • Previous by thread: Re: using namespace in xcode and dev-c++
  • Next by thread: Re: using namespace in xcode and dev-c++
  • Index(es):
    • Date
    • Thread