-std=c++11 sounds to be ignored when compiling :
g++ -std=c++11 -I../include -I ../../../Toolbox/CShmRingBuf/ -I$MILDIR/include CFrameProd.cpp -o CFrameProd.o
CFrameProd.cpp: In constructor ‘CFrameProd::CFrameProd()’:
CFrameProd.cpp:33:24: error: assigning to an array from an initializer list
MilGrabBufferList_ = {0};
I tries -std=c++0x, -std=gnu++0x, -std=c++14, nothing helped.
Here is my g++ version :
g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
May I ask you some hints ?
Cheers !
Sylvain
Aucun commentaire:
Enregistrer un commentaire