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

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

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -