This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taverngeek
Recipients taverngeek
Date 2009-01-12.09:14:46
SpamBayes Score 0.1139583
Marked as misclassified No
Message-id <1231751691.61.0.918589692105.issue4919@psf.upfronthosting.co.za>
In-reply-to
Content
The HUGE_VAL aka infinity issue is solved if the LIB is -lsunmath -lm
instead of just -lm

Sun Studio 12 compiler also seems to choke on the PyByteArray_GET_SIZE
and _AS_STRING because those macros use the ',' operator to stuff an
assert before the pointer lookup.  When I remove the assert portion of
those macros then they compile fine.

The assertions in those macros appear a bit silly because some places
they are used already have prior assertions and I don't see the point of
the macro which appears to be to crash due to an assertion one statement
prior to the null pointer reference causing a crash.

The configure process also appeared to make a few mistakes such as not
finding uid_t because that is in <sys/types.h> and not in the presumed
header file.  If configure were to include the standard header files AND
the file that it expects to find the definition then it would be better
at finding what is defined.  I don't know why Sun does that.
History
Date User Action Args
2009-01-12 09:14:52taverngeeksetrecipients: + taverngeek
2009-01-12 09:14:51taverngeeksetmessageid: <1231751691.61.0.918589692105.issue4919@psf.upfronthosting.co.za>
2009-01-12 09:14:50taverngeeklinkissue4919 messages
2009-01-12 09:14:47taverngeekcreate