Am 17.07.2009 um 22:43 schrieb Werner LEMBERG:
Today I tried to build the current cvs-version of groff on MacOS
10.5.7 with xcode 3.1.1.
Which compiler is this?
gcc version 4.0.1 (Apple Inc. build 5488)
i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)
has the same problem.
I successfully build with the same compiler in april 2009
I get the following link error:
Undefined symbols:
"node::~node()", referenced from:
[...]
Hmm. Maybe a bug in the compiler? Try to remove the `inline' keyword
from
inline node::~node()
{
...
around line 1814 in src/roff/troff/node.cpp.
It builds without "inline".
In the meantime I have updated the compiler to
gcc version 4.0.1 (Apple Inc. build 5493)
gcc version 4.2.1 (Apple Inc. build 5574)
Neither version compiles the "inline" version.
Axel