
7 Nov
2007
7 Nov
'07
8:34 p.m.
On Nov 7, 2007 9:18 PM, Corrado Zoccolo <czoccolo@gmail.com> 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