
7 Nov
2007
7 Nov
'07
8:21 p.m.
Corrado Zoccolo 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.
Sigh.. I'm reminded of http://www.ddj.com/blog/cppblog/archives/2007/10/the_hazards_of.html Is portable C++ an oxymoron? Oh well completely off topic. Thanks, Michael Marcin