[etherlab-dev] pdserv does not compile with g++ 6

Richard Hacker ha at igh.de
Mon Nov 28 12:32:04 CET 2016


Hi,

should work now...


Am 2016-10-30 um 14:51 schrieb Sebastien BLANCHET:
> Hi,
>
> I am trying to compile pdserv on Debian 9.0 (Stretch) but it does not
> want to compile pdserv because of flexible array member in union.
> because Debian Strech provides g++ 6.2 as default compiler.
>
> tested with the latest hg commit: changeset:   518:3bddcdd05527
>
> In file included from /tmp/pdserv-hg_2016-10-30/src/lib/Task.cpp:29:0:
> /tmp/pdserv-hg_2016-10-30/src/lib/ShmemDataStructures.h:50:19: error:
> flexible array member in union
>           char data[];
>                     ^
> /tmp/pdserv-hg_2016-10-30/src/lib/ShmemDataStructures.h:51:23: error:
> flexible array member in union
>           size_t signal[];
>
> best regards,


More information about the etherlab-dev mailing list