• 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: avoid space in path names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avoid space in path names


  • Subject: Re: avoid space in path names
  • From: Graham J Lee <email@hidden>
  • Date: Wed, 14 Dec 2005 23:54:57 +0000

On 14/12/05 22:45, Justin C. Walker wrote:

On Dec 14, 2005, at 14:33 , Steve Checkoway wrote:


On Dec 14, 2005, at 1:22 PM, Sean McBride wrote:

On 2005-12-13 17:22, David Fang said:

Don't forget to avoid case-insensitive clashes too!
(Bad experience: CVS checking out a project with x.c and x.C  sources)


Though in this case, there is a compiler warning to help you at least...
forget its name tho.


What would the compiler be warning about? x.c is a C file. x.C is a C++ file.


On a case-insensitive file system? I don't know that the compiler can tell on the name alone.


A filesystem such as HFS+ is case-preserving, so if you called it x.C it's called x.C so gcc will assume it's a C++ file. You could also open it as x.c or X.C or X.c but that isn't what it's called, AFAIK. e.g.:
mabinogi:~ leeg$ mkdir Foo
mabinogi:~ leeg$ cd foo
mabinogi:~/foo leeg$ pwd
/Users/leeg/foo
mabinogi:~/foo leeg$ cd ..
mabinogi:~ leeg$ ls -ld FoO
drwxr-xr-x   2 leeg  leeg  68 Dec 14 23:54 FoO


[of course, the -x argument will solve almost everything, except a CVS checkout clobbering its own output...]

--
Graham Lee
UNIX Systems Manager,
Oxford Physics Practical Course
http://users.ox.ac.uk/~wadh1342
_______________________________________________
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: avoid space in path names
      • From: "Justin C. Walker" <email@hidden>
References: 
 >avoid space in path names (From: Stefan Werner <email@hidden>)
 >Re: avoid space in path names (From: David Fang <email@hidden>)
 >Re: avoid space in path names (From: "Sean McBride" <email@hidden>)
 >Re: avoid space in path names (From: Steve Checkoway <email@hidden>)
 >Re: avoid space in path names (From: "Justin C. Walker" <email@hidden>)

  • Prev by Date: Re: Executable path is nil! with gdp in xcode
  • Next by Date: Re: avoid space in path names
  • Previous by thread: Re: avoid space in path names
  • Next by thread: Re: avoid space in path names
  • Index(es):
    • Date
    • Thread