[comp.sys.amiga.tech] Another manx/2.0 gotcha

smithwik@pioneer.arc.nasa.gov (R. Michael Smithwick -- FSN) (07/20/90)

["Excuse me ma'm, do you have a license for that child?"]

Here's another gotcha, when trying to get Manx (and possibly
Lettuce) up and running under 2.0.

When compiling the prototype files, (listed out in "all_protos.h")
alib_protos.h calls libraries/mathffp.h. Mathffp.h declares
the transendental routines, SPXXX() (SPSin(), SPCos(), etc).
These are the K&R declarations, "float SPSin();". This will cause
conflicts with the prototypes in mathffp_protos.h. Giving the
Manx "incompatible function declarations" error.

alib_protos.h doesn't seem to need any of the math declarations, so
you can get rid of the call.


                                       >> mike smithwick <<

Any opinions are my own since nobody else would ever want them.

"The real world serves only to illustrate mathematics"