Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi

I seem to have triggered a problem on the windows tinderbox, but I'm struggling to understand why.
The error on the tinderbox looks like:

   [build LNK] Library/ires.lib
Creating library C:/cygwin/home/tinderbox/master-build/workdir/wntmsci13.pro/LinkTarget/Library/iembobj.lib and object C:/cygwin/home/tinderbox/master-build/workdir/wntmsci13.pro/LinkTarget/Library/iembobj.exp docholder.o : error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall Rectangle::GetHeight(void)const " (__imp_?GetHeight@Rectangle@@QBEJXZ) referenced in function __catch$?GetDocFrame@DocumentHolder@@AAE?AV?$Reference@VXFrame@frame@star@sun@com@@@uno@star@sun@com@@XZ$0

And the definition in gen.hxx looks like:

  class TOOLS_DLLPUBLIC SAL_WARN_UNUSED Rectangle
  {
  public:
     long                GetWidth() const;
     long                GetHeight() const;
 }
 inline long Rectangle::GetWidth() const
 {
   .....
 }

Firstly, there seems to be a missing inline statement in the class header section. Secondly, given that there __is__ an inline modifier, why would the windows compiler be trying to link this function externally?

Regards, Noel Grandin



Disclaimer: http://www.peralex.com/disclaimer.html



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.