Re: commit: abi: ugly hack

From: Mike Nordell (
Date: Tue Dec 03 2002 - 22:15:12 EST

  • Next message: F J Franklin: "commit: abi: utf8 string stuff, meta stuff, HTML export stuff"

    Christian Biesinger wrote:

    > Mike Nordell wrote:
    > > #ifdef truncate
    > > #undef truncate
    > > #endif
    > I believe that this:
    > #undef truncate
    > is functionally completely identical to your lines, even if truncate is
    > not defined.

    Functionally equivalent, though the latter version could introduce a
    compiler warning. I don't know about e.g. GCC, but at least MSVC would
    indeed complain about it.

    Besides, it's a logical error to try to undef something that isn't defined
    in the first place.


    This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 22:27:38 EST