[boost] [detail] boost/detail/utf8_codecvt_facet.hpp broken by recent change

48 views
Skip to first unread message

Beman Dawes via Boost

unread,
Aug 25, 2017, 9:10:15 AM8/25/17
to Boost Developers List, Beman Dawes
boost/detail/utf8_codecvt_facet.hpp fails to compile for STL's MinGW
distro from https://nuwen.net/mingw.html

The error message is:

..\..\../boost/detail/utf8_codecvt_facet.hpp:117:29: error: function
'boost::filesystem::detail::utf8_codecvt_facet::~utf8_codecvt_facet()'
definition is marked dllimport
virtual BOOST_UTF8_DECL ~utf8_codecvt_facet(){}


The problem (on develop) is caused by Robert Ramey's Aug 13 commit
73c12230c31a851c15ecb9a649468425ebd92f8e "adjustment to avoid linking
problem: vtable not found found for ~utf8_codecvt_facet.hpp" which added
"BOOST_UTF8_DECL" to line 117.

This is breaking my local filesystem tests for GCC/MinGW. If the change is
reverted, the tests start passing again.

Robert, could you please revert the change? I can also to it, but thought
you needed to be alerted first so you can revisit whatever you were trying
to fix.

Thanks,

--Beman

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Robert Ramey via Boost

unread,
Aug 25, 2017, 12:19:06 PM8/25/17
to Beman Dawes via Boost, Robert Ramey
On 8/25/17 6:09 AM, Beman Dawes via Boost wrote:
> boost/detail/utf8_codecvt_facet.hpp fails to compile for STL's MinGW
> distro from https://nuwen.net/mingw.html
>
> The error message is:
>
> ..\..\../boost/detail/utf8_codecvt_facet.hpp:117:29: error: function
> 'boost::filesystem::detail::utf8_codecvt_facet::~utf8_codecvt_facet()'
> definition is marked dllimport
> virtual BOOST_UTF8_DECL ~utf8_codecvt_facet(){}
>
>
> The problem (on develop) is caused by Robert Ramey's Aug 13 commit
> 73c12230c31a851c15ecb9a649468425ebd92f8e "adjustment to avoid linking
> problem: vtable not found found for ~utf8_codecvt_facet.hpp" which added
> "BOOST_UTF8_DECL" to line 117.
>
> This is breaking my local filesystem tests for GCC/MinGW. If the change is
> reverted, the tests start passing again.
>
> Robert, could you please revert the change? I can also to it, but thought
> you needed to be alerted first so you can revisit whatever you were trying
> to fix.

OK I see this. What I don't see is why it fails which I think is
important. I'd like a couple of days to try to understand why this is
happening.

Robert Ramey

Robert Ramey via Boost

unread,
Aug 25, 2017, 12:39:29 PM8/25/17
to Robert Ramey via Boost, Robert Ramey
On 8/25/17 9:18 AM, Robert Ramey via Boost wrote:
> On 8/25/17 6:09 AM, Beman Dawes via Boost wrote:
>>   boost/detail/utf8_codecvt_facet.hpp fails to compile for STL's MinGW
>> distro from https://nuwen.net/mingw.html
>>
>> The error message is:
>>
>> ..\..\../boost/detail/utf8_codecvt_facet.hpp:117:29: error: function
>> 'boost::filesystem::detail::utf8_codecvt_facet::~utf8_codecvt_facet()'
>> definition is marked dllimport
>>       virtual BOOST_UTF8_DECL ~utf8_codecvt_facet(){}
>>
>>
>> The problem (on develop) is caused by Robert Ramey's Aug 13 commit
>> 73c12230c31a851c15ecb9a649468425ebd92f8e "adjustment to avoid linking
>> problem: vtable not found found for ~utf8_codecvt_facet.hpp" which added
>> "BOOST_UTF8_DECL" to line 117.
>>
>> This is breaking my local filesystem tests for GCC/MinGW. If the
>> change is
>> reverted, the tests start passing again.
>>
>> Robert, could you please revert the change? I can also to it, but thought
>> you needed to be alerted first so you can revisit whatever you were
>> trying
>> to fix.
>
> OK I see this.  What I don't see is why it fails which I think is
> important.  I'd like a couple of days to try to understand why this is
> happening.
>

OK - I took a short look at this. It's clear that I can't figure it out
in a reasonable time so the best would be to back out the change. Feel
free to do it.

Robert Ramey

Beman Dawes via Boost

unread,
Aug 28, 2017, 8:04:50 AM8/28/17
to Boost Developers List, Beman Dawes, Robert Ramey

Edward Diener via Boost

unread,
Aug 28, 2017, 3:17:17 PM8/28/17
to bo...@lists.boost.org, Edward Diener
I do not see Robert's change reverted on 'develop'. I am also seeing the
same problem you are.

Andrey Semashev via Boost

unread,
Aug 28, 2017, 4:16:26 PM8/28/17
to bo...@lists.boost.org, Andrey Semashev

Edward Diener via Boost

unread,
Aug 28, 2017, 4:50:43 PM8/28/17
to bo...@lists.boost.org, Edward Diener
On 8/28/2017 4:16 PM, Andrey Semashev via Boost wrote:
> On 08/28/17 22:16, Edward Diener via Boost wrote:
>> On 8/28/2017 8:03 AM, Beman Dawes via Boost wrote:
>>> On Fri, Aug 25, 2017 at 12:39 PM, Robert Ramey via Boost <
>>> bo...@lists.boost.org> wrote:
>>>
>>>> OK - I took a short look at this.  It's clear that I can't figure it
>>>> out
>>>> in a reasonable time so the best would be to back out the change.  Feel
>>>> free to do it.
>>>> <http://lists.boost.org/mailman/listinfo.cgi/boost>
>>>>
>>>
>>> Done.
>>
>> I do not see Robert's change reverted on 'develop'. I am also seeing
>> the same problem you are.
>
> It looks reverted to me:
>
> https://github.com/boostorg/detail/commit/782208b04ded0b01733c40dd3af05b81f4f1724b

You are right. I thought the change had been made in serialization.

Reply all
Reply to author
Forward
0 new messages