[mod_python] make failed on AIX 5.1 using xlc

Graham Dumpleton grahamd at dscpl.com.au
Wed Jan 11 17:49:56 EST 2006

Hans-Joachim Ehlers wrote ..
> Graham Dumpleton" <grahamd at dscpl.com.au> 10/01/06 22:54  wrote
> >Similar situation for the function cast you had to change in
> requestobject.c.
> >It just becomes to much of a pain to try and deal with the strangeness
> of
> >lessor used compilers.
> I made which the gcc (3.2.2) a syntax check against the patched file
> and it does not complains. 
> So it would be nice and if the change will not cause trouble to have in
> the source code. Otherwise at the next revision me and other will run in
> the same or similar issue

If you put the code back to how it was originally, ie., no hack for the
function cast, does GNU C compile it then?

The problem is that the code as originally written is syntactically
correct and is what it should be. It is a problem with the compiler
or platform that is the real problem. It is not a good idea to introduce
such a hack, which technically is wrong and may then cause another
compiler or platform to fail. In other words, it may fix your particular
problem, but may in turn cause problems for a lot of others if the
change were made.


More information about the Mod_python mailing list