Hello Andrew,

Issue reported and patch provided at head of master here: 
https://issues.apache.org/jira/browse/PROTON-1382

2 problems fixed:

* Remove bit fields initialization to fix hanging tests on Solaris

* Add missing include to fix incomplete type error on Solaris (message.cpp, 
Error: Function "proton::link::error() const" with incomplete return type 
"proton::error_condition", compiler cannot generate virtual table in this 
situation..)


Could this be considered as a regression because Proton was compiling on 
Solaris at 0.14.0?

Would it be possible to consider a 0.16.1 release in that case if 0.17.0 is a 
bit far from being released?


Regards,

Adel

________________________________
From: Andrew Stitcher <astitc...@redhat.com>
Sent: Wednesday, January 4, 2017 4:39:27 PM
To: users@qpid.apache.org
Subject: Re: [Proton 0.16.0] [Solaris] Unit tests hanging when destroying 
connection_driver

On Wed, 2017-01-04 at 14:47 +0000, Adel Boutros wrote:
> I found the issue!!
>
>
> It is a Solaris compiler bug:
>
> Actually Solaris doesn't handle correctly bit fields in C. This is
> the case of the struct pn_collector_t (bool head_returned:1).

We probably should just never be using bifields in this case - it is
pretty unusual in my experience (even if it seems like it would save
space in the struct).

So I, for one, would definitely accept a patch to remove all uses of
bool bitfields.

Andrew


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to