[issue20106] warn_dir is always true for install_data, even if an install_dir is specified

2014-11-19 Thread Tabrez Mohammed
Tabrez Mohammed added the comment: I don't have access to the code anymore that repro'ed this issue. I just remember writing a setup script for a module I was working on, and when 'install' was run, it would print this error message. It's pretty easy to see in code w

[issue20106] warn_dir is always true for install_data, even if an install_dir is specified

2014-11-19 Thread Tabrez Mohammed
Tabrez Mohammed added the comment: The former. I copy/pasted the code block to show from where the warning message was being printed. -- ___ Python tracker <http://bugs.python.org/issue20

[issue20221] #define hypot _hypot conflicts with existing definition

2014-01-28 Thread Tabrez Mohammed
Tabrez Mohammed added the comment: My extension doesn't compile because I treat warnings as errors. I believe Blender compiles fine, but crashes at runtime because of the infinite recursion (see the second code snippet in Brecht's response (http://bugs.python.org

[issue20221] #define hypot _hypot conflicts with existing definition

2014-01-13 Thread Tabrez Mohammed
Changes by Tabrez Mohammed : -- keywords: +patch Added file: http://bugs.python.org/file33447/fix20221.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20221] #define hypot _hypot conflicts with existing definition

2014-01-11 Thread Tabrez Mohammed
Tabrez Mohammed added the comment: Sorry, I realize I didn't mention this in the original post. I'm getting this compiler warning when building my Python extension, not when building Python itself. -- ___ Python tracker <http://bu

[issue20221] #define hypot _hypot conflicts with existing definition

2014-01-10 Thread Tabrez Mohammed
Tabrez Mohammed added the comment: v100 toolset, with compiler setting /W4. Microsoft recommends W4 for all new C++ projects (see http://msdn.microsoft.com/en-us/library/thxezb7y(v=vs.100).aspx). I'm using 3.3. -- ___ Python tracker

[issue20221] #define hypot _hypot conflicts with existing definition

2014-01-10 Thread Tabrez Mohammed
New submission from Tabrez Mohammed: In pyconfig.h (line 216), there is this line: #define hypot _hypot This conflicts with the definition of _hypot that ships with VS2010 (math.h, line 161): static __inline double __CRTDECL hypot(_In_ double _X, _In_ double _Y) The result of the redefinition

[issue20106] warn_dir is always true for install_data, even if an install_dir is specified

2014-01-02 Thread Tabrez Mohammed
New submission from Tabrez Mohammed: In run(), there is a warning message printed to the console if warn_dir is '1': if self.warn_dir: self.warn("setup script did not provide a directory for " "'%s' -- installing right in '%s'&quo