Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - whitespace in path names: (2 Items)
   
whitespace in path names  
It is quite common, especially on Windows, for commonly-used directories to have spaces in them e.g. 'My Documents'. I 
realize that gcc etc. does not support these well,, but I quite often find customers using these directories, and then 
finding that things don't work correctly.

I'm not expecting us to change gcc, but can we add code to check for this e.g. in the 'add a library or include path' 
code, we must be able to parse it and see the white space and display an appropriate message ?

It's very confusing for newbies, especially as Eclipse happily shows them the files in the directory, so it *looks* like
 it knows where their include files are, but can't build with them...
RE: whitespace in path names  
FYI, Vista has no directory with spaces in them.  "Document and Settings" is User, My Document is Document etc.  I got 
bitten by the space under XP but not under Vista.


> -----Original Message-----
> From: Dave Bott [mailto:community-noreply@qnx.com]
> Sent: January-07-09 11:54 AM
> To: general-ide
> Subject: whitespace in path names
> 
> It is quite common, especially on Windows, for commonly-used
> directories to have spaces in them e.g. 'My Documents'. I realize that
> gcc etc. does not support these well,, but I quite often find customers
> using these directories, and then finding that things don't work
> correctly.
> 
> I'm not expecting us to change gcc, but can we add code to check for
> this e.g. in the 'add a library or include path' code, we must be able
> to parse it and see the white space and display an appropriate message
> ?
> 
> It's very confusing for newbies, especially as Eclipse happily shows
> them the files in the directory, so it *looks* like it knows where
> their include files are, but can't build with them...
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post19560
>