In Rect.h there are prototypes of this sort:
extern void RctCopyRectangle(const RectanglePtr srcRect, const
RectanglePtr dstRect)
Should this prototype, for instance, be:
extern void RctCopyRectangle(const RectangleType *srcRect, RectanglePtr
dstRect)
GCC doesn't like "const RectanglePtr" (or the equivalent, "RecanglePtr
const") to be used in parameters that actually are given real, const
data. Anyway, the important thing is for the const's to be meaningful to
human and machine, eh?
Alex Robinson
[EMAIL PROTECTED]
-eom-
- Re: OS header files; const in prototypes, especially in ty... Alex Robinson
- Re: OS header files; const in prototypes, especially ... Alex Robinson
- Re: OS header files; const in prototypes, especially ... Chris Antos
- Re: OS header files; const in prototypes, especially ... Alex Robinson
- RE: OS header files; const in prototypes, especially ... Richard Hartman
- Re: OS header files; const in prototypes, especially ... Mark Nudelman
- RE: OS header files; const in prototypes, especially ... Richard Hartman
- Re: OS header files; const in prototypes, especially ... Chris Antos
