<br /><br /><span>On 02.06.17 15:41, <b class="name">Aurélien Larcher </b> <aurelien.larcher@gmail.com> wrote:</span><blockquote cite="mid:CAHMq6q2Rw6hMOwR-QtaOdFkvMmF2MwTkDqUdxPqJk-m8Ap06hA@mail.gmail.com" class="iwcQuote" style="border-left: 1px solid #00F; padding-left: 13px; margin-left: 0;" type="cite"><div class="mimetype-text-html"><div dir="ltr"><br /><div class="gmail_extra"><br /><div class="gmail_quote">On Fri, Jun 2, 2017 at 3:26 PM, Carsten Grzemba <span dir="ltr"><<a href="mailto:grzemba@contac-dt.de">grzemba@contac-dt.de</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br /><br /><span>On 28.05.17 13:11, <b class="m_-8820898032523831540name">Aurélien Larcher </b> <<a href="mailto:aurelien.larcher@gmail.com">aurelien.larcher@gmail.com</a>> wrote:</span><blockquote class="m_-8820898032523831540iwcQuote" style="border-left:1px solid #00f;padding-left:13px;margin-left:0" type="cite"><div class="m_-8820898032523831540mimetype-text-html"><div dir="ltr"><br /><div class="gmail_extra"><div class="gmail_quote"><div><br /></div><div class="m_-8820898032523831540m_3647409821504987274mimetype-text-html"> <br /></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
BTW: What about publishing these packages with exiv2 enabled?<span class="m_-8820898032523831540HOEnZb"><font color="#888888"><br /></font></span></div></blockquote><div><br /></div><div>Speaking of which, there is a new version of exiv2 so that could be a good opportunity to look at it.<br /></div><div><br /> </div></div></div></div></div></blockquote></span><span>0.26 uses pthread PTHREAD_RECURSIVE_MUTEX_<wbr></wbr>INITIALIZER_NP which is not contained in our pthread.h :(<br /></span></blockquote><div><br /></div><div>Is it really necessary? </div></div></div></div></div></blockquote><span>I guess in /usr/include/synch.h is a valid replacement:<br /><br />RECURSIVE_ERRORCHECKMUTEX<br /><br />But this definition raise a gcc error:<br />actions.cpp:75:120: error: braces around scalar initializer for type ‘uint16_t {aka short unsigned int}’<br /> {{0, 0, 0, {USYNC_THREAD|LOCK_RECURSIVE|LOCK_ERRORCHECK}, MUTEX_MAGIC}, {{{0, 0, 0, 0, 0, 0, 0, 0}}}, 0}<br /><br />so these macros in synch.h should not work in general with g++-4.9 ?<br /><br />and this definition without braces compiles instead:<br /> {{0, 0, 0, USYNC_THREAD|LOCK_RECURSIVE|LOCK_ERRORCHECK, MUTEX_MAGIC}, {{{0, 0, 0, 0, 0, 0, 0, 0}}}, 0}<br /><br />Any hints?<br /> <br /></span>