Michael Petch <[email protected]> writes: > Might it be better to do it this way? So that the compiler warning for > both cases is suppressed? Although it's a bit ugly it covers the case > for HAVE_LIBGMP being used or not.
Yeah, that works. Usually I just tag the variable with the unused attribute rather than renaming it to handle cases like this where it's only conditionally unused. I assume you're also doing the renaming because you want to force a compilation error if the assumption about the variable being unused is false? That's kind of a neat trick; I've not seen that before. -- Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/> _______________________________________________ Bug-gnubg mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-gnubg
