freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] Re: how to forbid to link public-but-unrecommended function i


From: Werner LEMBERG
Subject: [ft-devel] Re: how to forbid to link public-but-unrecommended function in libfreetype.dylib?
Date: Fri, 13 Oct 2006 00:00:10 +0200 (CEST)

> So, I wish if I could forbid (or disturb) the functions in building
> phase of the problematic application. Of course, keeping the function
> available for runtime linker is important (to avoid users from
> "unresolved symbol" trouble). There's any standard method to issue
> an error in cc1, with meaningful informative message?

What about

  __attribute__ ((deprecated))

(see gcc.info, section `Declaring Attributes of Functions')?


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]