
27 Feb
2007
27 Feb
'07
8:54 p.m.
I am reluctant to apply this change, because it incurs a potential runtime penalty (minimal as it may be) for the sake of a spurious warning emitted by a too-smart compiler. Yes, I understand that. Personally, I prefer warning free code to tiny bits of efficiency, though.
Can you figure out some way to silence the warning without runtime impact? Is there any GCC-specific way to do it (pragmas, etc.)? I don't know such an option (yet) but I will try to find out if there is any.
Christoph