groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] node.cpp needs patch?


From: Axel Kielhorn
Subject: Re: [Groff] node.cpp needs patch?
Date: Sun, 17 Jan 2010 09:26:36 +0100

Am 17.01.2010 um 04:21 schrieb Larry Kollar:

> 
> brian m. carlson wrote:
> 
>>> I'm not a c++ expert in the least, but I couldn't get the CVS (from an
>>> hour ago) to compile without getting rid of the "inline" keyword from
>>> node::~node() as follows. Is this a problem on my end?
>> 
>> This has been reported several times.  For some reason, Mac OS X has a
>> problem compiling this.  It works fine for me with Debian's GCC 4.4.2-9.
>> I'm not sure if this is a problem with GCC 4.0.1, or simply with Apple's
>> version of it, but if it's the former, it's never going to be fixed.
>> GCC 4.0.1 is pretty old.
> 
> OK, I've added a description & fix to the PROBLEMS file and sent a patch just 
> a few minutes ago... it's not a difficult fix, anyway. ;-) I'd like to know 
> if anyone has similar problems with Leopard (10.5) or Snow Leopard (10.6).

The inline stil causes problems with 10.6.2 and gcc from Xcode 3.2.1:

i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Undefined symbols:
  "node::~node()", referenced from:
      extra_size_node::~extra_size_node()in div.o
      extra_size_node::~extra_size_node()in div.o
      vertical_size_node::~vertical_size_node()in div.o
      vertical_size_node::~vertical_size_node()in div.o
      token_node::token_node(token const&)in input.o
      non_interpreted_node::non_interpreted_node(macro const&)in input.o
      non_interpreted_char_node::non_interpreted_char_node(unsigned char)in 
input.o
      non_interpreted_char_node::~non_interpreted_char_node()in input.o
      non_interpreted_char_node::~non_interpreted_char_node()in input.o
      token_node::~token_node()in input.o
      token_node::~token_node()in input.o
      token_node::~token_node()in input.o
      token_node::~token_node()in input.o
      non_interpreted_node::~non_interpreted_node()in input.o
      non_interpreted_node::~non_interpreted_node()in input.o
      non_interpreted_node::~non_interpreted_node()in input.o
      non_interpreted_node::~non_interpreted_node()in input.o
ld: symbol(s) not found

Axel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]