|
Boost : |
From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2007-11-07 15:34:58
On Nov 7, 2007 9:18 PM, Corrado Zoccolo <czoccolo_at_[hidden]> wrote:
> This can cause warnings on various gcc versions, if the header file is
> included in a translation unit in which those constants are not used.
> The inline function, instead, will cause no problem.
>
> Corrado
>
A gcc problem may be solved with a gcc workaround. Won't
__attribute__((unused)) solve the problem?
Or maybe a dummy inline function that "uses" 'em?
-- gpd
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk