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

1111. appearing after print sequence - php -

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

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -