This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building LyX 1.2.0 on HP-UX 11.11 with G++ 3.2


In message <20020822130230.C9686@oolong.il.thewrittenword.com>, Albert Chin wri
tes:
 >On Thu, Aug 22, 2002 at 10:44:43AM -0600, Jeff Law wrote:
 >> Weak symbols are not supported in SOM (HP's object format for 32bit
 >> applications).
 >
 >Ahh, correct. Any idea why I get 't' and not 'T' for. The offending
 >code is:
 >  class ControlGraphics
 >    : public ControlInset<InsetGraphics, InsetGraphicsParams> {
 >  public:
 >
 >  ...
 >
 >  template <class Inset, class Params>
 >  void ControlInset<Inset, Params>::updateSlot(bool switched)
 >  {
 >    if (switched)
 >      hide();
 >    else
 >      update();
 >  }
I'm not a C++ guru, so I don't know what all that means.

I do know that on systems where weak symbols are not supported many things
are instantiated as a local symbol.  You can't instantiate things as globals
or you'll get multiply defined functions.

I don't know if this is what's happening in your code or not.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]