cxx does not like inline methods without a definition:

cxx: Error: ../../../lyx-devel/src/mathed/math_xiter.h, line 41: function
          "MathedXIter::GetPos" was referenced but not defined
    void GetPos(int &, int &) const;
---------^
cxx: Warning: ../../../lyx-devel/src/mathed/math_spaceinset.h, line 18: virtual
          inline function "MathSpaceInset::Metrics" was never defined
        inline void Metrics();
--------------------^
cxx: Error: ../../../lyx-devel/src/mathed/math_spaceinset.h, line 20: 
          function "MathSpaceInset::SetSpace" was referenced but not defined
        inline void SetSpace(int sp);
--------------------^

Do these methods really need to be inline? If they do, then the
definition should be in the header.

JMarc

Reply via email to