Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2003-05-28 14:26:04


On Wednesday, May 28, 2003, at 01:08 PM, John Maddock wrote:

>> The undefind reference comes from posix_api.o . I guess that
>> s_match_vtable is not used in that file.
>
> You bet it is, you would get the unresolved external if it wasn't
> being used
> :-)
>
>>>> On MacOS X using g++ version 3.3 in addition to the linker problem I
>>>> had to make all the functions you refer to in the intiialization of
>>>> these tables public in order for the code to compile.
>>>
>>> Does that include
>>> s_match_vtable as well?
>>
>> Probably yes. I just made all functions public and it compiled - but
>> did not instantiate the tables
>
> Still weird, changing the declarations to public is not required with
> other
> gcc3.3 versions (see the linux regression test results for example).

Then it might be fixed when Apple does the next import of the main
branch of gcc3.3 . Let us wait with those changes until Apple releases
the next version of the developer tools which will probably be based on
gcc3.3

Matthias


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk