On 10/16/06, Matthias Baas <ba...@ir...> wrote:
> Hi,
>
> I noticed that the header file names are turned to lowercase when Py++
> is run on Windows. This makes it impossible to use the generated code on
> case-sensitive systems like Linux as well.
> After some investigation I found out that
> include_directories_t.normalize() calls os.path.normcase() on the path
> which converts the file name to lowercase. Could this be changed so that
> the original file name is preserved? (probably by using normpath()
> instead of normcase())
Not for this release sorry :-(.
The problem is that somewhere, I don't remember where, Py++ uses these
file names to
check uniqueness. The change that should be done is that: for compare
Py++ should use
the current normalize method, but for code generation it should use
the file name as is.
I think that this change could break something.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|