https://osmocom.org/https://osmocom.org/favicon.ico?16647414092020-12-15T19:21:20ZOpen Source Mobile Communicationslibosmocore - Bug #4908: Errors compiling with -std=c++14https://osmocom.org/issues/4908?journal_id=206082020-12-15T19:21:20Zpespin
<ul></ul><p>Using docker-playground.git/osmo-pcu-master/DOckerfile, which uses debian stretch image.</p> libosmocore - Bug #4908: Errors compiling with -std=c++14https://osmocom.org/issues/4908?journal_id=207822021-01-13T16:42:48Zpespin
<ul></ul><p>It seems typeof() is a GNU extension and not available in standard C++. In standard C++ however, there seems to exist "decltype" instead.</p>
<p>Related discussion:<br /><a class="external" href="https://stackoverflow.com/questions/1986418/typeid-versus-typeof-in-c">https://stackoverflow.com/questions/1986418/typeid-versus-typeof-in-c</a></p>
<p>So this turns to be more of a "libosmocore" ticket and what we'd like to do in order to support container_of in C++ non-gnu compilers.</p> libosmocore - Bug #4908: Errors compiling with -std=c++14https://osmocom.org/issues/4908?journal_id=214302021-03-01T15:38:37Zpespin
<ul><li><strong>Project</strong> changed from <i>OsmoPCU</i> to <i>libosmocore</i></li></ul>