On Thu, Aug 28, 2008 at 12:19 AM, Philip Guenther <[EMAIL PROTECTED]>wrote:

> gcc only started permitting function attributes on function
> definitions (as opposed to function declarations) in very recent
> versions, newer than the versions included with OpenBSD.  To be
> portable to earlier versions, move the CUSTOM_PRINTF macro usage to
> the function declaration  If it's already there, then simply delete
> the one on the definition.  If the function doesn't have a
> declaration, then add one, etc.
>
>
> Philip Guenther
>


Adding a declaration solved the problem.  Thank you!

Reply via email to