[SciPy-dev] patch: allow arrayobject.h to compile in c++ compiler
Travis Oliphant
oliphant at ee.byu.edu
Tue Nov 22 02:03:45 CST 2005
Andrew Straw wrote:
>Bool is defined in C++ compilers, so if arrayobject.h defines Bool, the
>compiler issues an error: "redeclaration of C++ built-in type `int'".
>
>
>
I thought C++ defined bool. This was recently changed from bool to
Bool precisely for C++ compilers. Now you tell me that C++ compilers
define Bool as well?
The problem with the patch is what is sizeof(Bool) on those C++
compilers? Is it 1?
-Travis
More information about the Scipy-dev
mailing list