mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 14:30:36 +00:00
fixed compilation for g++ and stay c++11 compatible
This commit is contained in:
parent
eabdff7209
commit
3092fa68ee
5 changed files with 5 additions and 1 deletions
|
|
@ -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++
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue