From: Arjen M. <arj...@wl...> - 2005-01-03 09:18:24
|
Andrew Roach wrote: > > >> > >>However, in the past files with a dash (-) in their name caused serious > >>trouble when building a library on Windows. > > > >IIRC, early (late 80's and early 90's) Unix had trouble with hyphens as well > >so in that era a lot of programmers used underscores in names. I believe > >the more modern trend is to use hyphens, however. I suppose hyphens in names > >could still be a problem for windows so your concern is legitimate. However, > >instead of speculating, will you please find out whether it is actually > >going to be a problem or not by taking a minute to compile and execute the > >app similarly to above? If it is going to be a problem, then we can switch > >to underscores, I suppose, but let's not do that if we don't have to. > > It works on my windows platform and MingW, so NTFS + MingW at the very > least work with hyphens. Can't speak for VC++ or other blends of windows > though. > Well, I was successful in creating a library containing two files with hyphens in their names, sub-a.c and sub-b.c - not very imaginative :), and using that in a trivial program. So, as far as I am concerned, there is no problem. (I guess I could bring up my dislike of spaces in file names and directories at this too :D, but I will not). Regards, Arjen |