On Tue, Jul 28, 2009 at 3:38 PM, Vincent Torri<vincent.to...@gmail.com> wrote: > Hey > > I would like to know if the following attributes (supported by gcc) are > supported with Sun compilers, and which version should I test with __SUNPRO_C > to know if it is supported: > > warn_unused_result > nonnull > __deprecated__ > malloc > pure > format > format_arg > const
Hello, there are a few good reference porting manuals and HOWTO's. Just a quick summary: http://www.ohse.de/uwe/articles/gcc-attributes.html http://wikis.sun.com/display/SunStudio/Using+Sun+Studio+for+open+source+apps http://cooltools.sunsource.net/gcc/porting.html http://en.wikipedia.org/wiki/Sun_Studio_%28software%29 First though, you might want to read all bundled man-pages and documentation that ship with the compilers themselves. Or, if you want a shortcut, browse through some big existing (relevant) src repo and look how others did the things you are interested in, accordingly. For example have a look at ON or x.org (which both include support the 2 compilers). Martin _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org