fixed compilation for g++ and stay c++11 compatible

This commit is contained in:
Ahmet Inan 2018-10-25 08:37:52 +02:00
commit 3092fa68ee
5 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,5 @@
CXXFLAGS = -I.. -std=c++17 -W -Wall -Ofast -fno-exceptions -fno-rtti -march=native
CXXFLAGS = -I.. -std=c++11 -W -Wall -Ofast -fno-exceptions -fno-rtti -march=native
CXX = clang++ -stdlib=libc++
#CXX = g++

View file

@ -7,6 +7,7 @@ Copyright 2018 Ahmet Inan <inan@aicodix.de>
#include <cassert>
#include <random>
#include <iostream>
#include <functional>
#include "bitman.hh"
#include "galois_field.hh"
#include "bose_chaudhuri_hocquenghem_decoder.hh"

View file

@ -7,6 +7,7 @@ Copyright 2018 Ahmet Inan <inan@aicodix.de>
#include <cassert>
#include <random>
#include <iostream>
#include <functional>
#include "galois_field.hh"
#include "bose_chaudhuri_hocquenghem_encoder.hh"
#include "bose_chaudhuri_hocquenghem_decoder.hh"

View file

@ -7,6 +7,7 @@ Copyright 2018 Ahmet Inan <inan@aicodix.de>
#include <cassert>
#include <random>
#include <iostream>
#include <functional>
#include "galois_field.hh"
#include "reed_solomon_decoder.hh"

View file

@ -7,6 +7,7 @@ Copyright 2018 Ahmet Inan <inan@aicodix.de>
#include <cassert>
#include <random>
#include <iostream>
#include <functional>
#include "galois_field.hh"
#include "reed_solomon_encoder.hh"
#include "reed_solomon_decoder.hh"