commit: abi: ugly hack

From: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Mon Dec 02 2002 - 11:58:36 EST

  • Next message: F J Franklin: "commit: abi (STABLE): XML & XHTML import work"

    If anyone can think of a real solution, then please, please,...
    Anyway, the basic problem is that Solaris does the following in unistd.h:

    #define truncate truncate64

    so the method truncate() in ut_growbuf.h ends up with different names
    depending on the order in which headers are included...

    o work-around for clash between system truncate() and C++ method name

    CVS:----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/af/gr/xp/gr_Graphics.cpp src/af/util/xp/ut_bytebuf.h
    CVS: src/af/util/xp/ut_growbuf.h
    CVS:----------------------------------------------------------------------

    Regards, Frank

    Francis James Franklin
    F.J.Franklin@shef.ac.uk

      `Medium atomic weights are available: Gold, Lead, Copper, Jet, Diamond,
    Radium, Sapphire, Silver and Steel.
      `Sapphire and Steel have been assigned...'



    This archive was generated by hypermail 2.1.4 : Mon Dec 02 2002 - 12:00:41 EST