Message44811
Logged In: YES
user_id=488897
I have tested your patch and found that it works as intended.
I am a bit surprised about the approach taken in ccompiler.py:
1) Using absolute paths is not portable, so I'm not sure why
somebody would want to do that.
2) With this patch, If the source file is in c:\foo\bar.c,
then the object file is written to
build\temp.win32-2.3\Release\foo\bar.o. However, if the
source file is written with a relative patch ("bar.c"), the
object file is written to build\temp.win32-2.3\Release\bar.o
(so without "foo"). Hence, even though the source file bar.c
is in the exact same location in these two cases, the object
file ends up in a different location depending on whether
the path is specified as absolute or relative. Is that
really what we want?
But I agree that the behavior of msvccompiler.py and
ccompiler.py should be consistent. |
|
Date |
User |
Action |
Args |
2007-08-23 15:29:36 | admin | link | issue827386 messages |
2007-08-23 15:29:36 | admin | create | |
|