please use ABI_EXPORT and ABI_PLUGIN_EXPORT

From: Kenneth J. Davis (jeremyd@computer.org)
Date: Sat Feb 01 2003 - 12:48:55 EST

  • Next message: ericzen: "Re: Fwd: from rajiv@uklinux.net"

    Hello all,

    Just a friendly reminder, if you add a new class or function in the Abi
    core, please (pretty please) remember to add the ABI_EXPORT modifier.
    On all but Windows it is just an empty macro so you probably won't
    notice when it is missing, but when one goes to compile plugins on Windows
    all uses (either direct or indirect) of said class will result in the
    linker failing to find it. (Note: fixing this generally requires
    a clean and rebuild of AbiWord.exe each time one is found to be missing --
    and a full build can take 30+min on less than current computers.)

    Also, plugins should NOT use ABI_EXPORT, they should use the
    similar ABI_PLUGIN_EXPORT. This is very important, as when
    building plugins they evaluate differently, ABI_EXPORT will indicate
    the item is to be imported (versus building Abi proper where it
    indicates the item is being exported), but ABI_PLUGIN_EXPORT
    always indicates the item is being exported.

    AbiWord 1.0.4 for Win32 is available for download:
    http://abiword.pchasm.org/builds/release/

    Thanks,
    Jeremy



    This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 12:54:00 EST