annoying warnings typedef '...' locally defined but not used
Vincent Lefevre
vincent+gcc@vinc17.org
Mon Jul 22 16:48:00 GMT 2013
On 2013-07-22 14:47:24 +0100, Jonathan Wakely wrote:
> You can mark them with __attribute__((unused)), so you could define
> a macro that expands to nothing for other compilers.
Thanks. I've done some tests and got no problems with that.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Gcc-help
mailing list