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
>