f4exb / dsdcc

Digital Speech Decoder (DSD) rewritten as a C++ library
286 stars 60 forks source link

fix build on ubuntu 16.04 (use cmake c++11 directive) #22

Closed ra1nb0w closed 5 years ago

ra1nb0w commented 5 years ago

avoid the following error

In file included from /usr/include/c++/5/chrono:35:0, from /home/user/tmp/dsdcc/timeutil.h:17, from /home/user/tmp/dsdcc/dsd_decoder.cpp:19: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

ra1nb0w commented 5 years ago

thank you!