linker - Warn about deprecated function during linking? -


on linux, can tell linker emit warning when function linked, e.g. this:

static const char blah_msg[] __attribute__((section(".gnu.warning.blah"))) =     "blah() deprecated. use blub()."; 

how implement warning behaviour on solaris 10?

(i.e. solaris studio , solaris ld)

sorry, asked solaris linker team, , there no way solaris ld - using compiler deprecated attribute closest can do.


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

html - Outlook 2010 Anchor (url/address/link) -