Boost logo

Boost :

Subject: [boost] [config] Macro for unused declarations
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2013-10-19 14:12:56


Would it be possible to have a macro for __attribute__((unused)) and
similar pragmas to portably avoid "unused typedef" and related warnings
(especially from recent versions of GCC)? I have mostly removed those in
Boost.Graph, but there are some that need to remain---creating a typedef
to a member type of a class to make sure that the member exists, for
example. Thank you.

-- Jeremiah Willcock


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk