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

Sebastien BLANCHET blanchet at iram.fr
Sun Oct 30 14:51:52 CET 2016


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,
-- 
Sebastien BLANCHET




More information about the Etherlab-dev mailing list