public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@porcupine.slc.redhat.com>
To: gcc@gcc.gnu.org
Subject: Re: Building LyX 1.2.0 on HP-UX 11.11 with G++ 3.2
Date: Thu, 22 Aug 2002 12:02:00 -0000	[thread overview]
Message-ID: <200208221907.g7MJ7VL11022@porcupine.slc.redhat.com> (raw)
In-Reply-To: <20020822130230.C9686@oolong.il.thewrittenword.com>

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

  reply	other threads:[~2002-08-22 12:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-22  5:31 Albert Chin
2002-08-22  9:29 ` Albert Chin
2002-08-22  9:34   ` John Levon
2002-08-22  9:48     ` Albert Chin
2002-08-22 12:12       ` Jeff Law
2002-08-22 12:15         ` Albert Chin
2002-08-22  9:40   ` Jeff Law
2002-08-22 11:02     ` Albert Chin
2002-08-22 12:02       ` Jeff Law [this message]
2002-08-22 15:08 John David Anglin
2002-08-22 15:14 ` Jeff Law
2002-08-22 15:45   ` John David Anglin
2002-08-22 16:34     ` Jeff Law
2002-08-22 17:11       ` John David Anglin
2002-08-23  5:32       ` Albert Chin
2002-08-23 10:08         ` Jeff Law

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200208221907.g7MJ7VL11022@porcupine.slc.redhat.com \
    --to=law@porcupine.slc.redhat.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).