Re: The case insensitive #include statement horror...
- From: Stephan Kuhagen <nospam@xxxxxxxxxx>
- Date: Fri, 01 Dec 2006 17:14:09 +0100
William DePalo [MVP VC++] wrote:
OK. That's your point of view. What follows from it is the fact, say, that
given a string of eight characters there are 256 possible files which can
live in one directory, using those characters in the given order, which
differ only in case. As I see it, that's just nuts. :-)
"No bit left behind!"
The point I have been trying to make here is that you are applying a 'nix
mindset to Windows.
That's just a coincidence, I had this mindset before I got in contact with
Unix. I like "Do what I say"-things better than "Do what most people
mean"-things, especially for computers.
But you are right in the sense, that wanting Windows change it fs behaviour
would be the wrong way. I don't want to change its philosophy. I just hoped
to find a tool for a technical problem in the development tools from
Microsoft. But I understand, that there are good reasons for the dev-team
not to waste its time with implementing such functions (although I think I
gave some reasons why there might be some needs for this functionality) -
but I get it anyway, just not out of the box, I do it myself.
But it makes it easy to lose this data, since someone can
easily overwrite this semantics accidently by writing another
file with a similar name, differing only in case.
No, we won't allow two different files with names that differ only in case
to be created in the same directory and with the Win32 API.
See, and thats where the original data gets lost... But I don't care about
that, I always have backups. Although I do not like that feature of the
Windows fs, I can live with it and accept it. What I wanted, was something
different. The fs should not be changed to be case sensitive, instead I
wanted a check in the development tools that compares the case of include
statements to the case of the actual filename on the disk and probably
print out a warning or better an error.
Regards
Stephan
.
- Follow-Ups:
- Re: The case insensitive #include statement horror...
- From: Bo Persson
- Re: The case insensitive #include statement horror...
- References:
- Re: The case insensitive #include statement horror...
- From: Tom Serface
- Re: The case insensitive #include statement horror...
- From: Stephan Kuhagen
- Re: The case insensitive #include statement horror...
- From: Tom Serface
- Re: The case insensitive #include statement horror...
- From: Carl Daniel [VC++ MVP]
- Re: The case insensitive #include statement horror...
- From: William DePalo [MVP VC++]
- Re: The case insensitive #include statement horror...
- From: Stephan Kuhagen
- Re: The case insensitive #include statement horror...
- From: William DePalo [MVP VC++]
- Re: The case insensitive #include statement horror...
- From: Stephan Kuhagen
- Re: The case insensitive #include statement horror...
- From: William DePalo [MVP VC++]
- Re: The case insensitive #include statement horror...
- From: Stephan Kuhagen
- Re: The case insensitive #include statement horror...
- From: William DePalo [MVP VC++]
- Re: The case insensitive #include statement horror...
- Prev by Date: Re: A beginner question about C++ (char *)
- Next by Date: Re: Update a Dialog
- Previous by thread: Re: The case insensitive #include statement horror...
- Next by thread: Re: The case insensitive #include statement horror...
- Index(es):
Relevant Pages
|
Loading