diff --git a/config.h b/config.h index 216dd6b..2a64332 100644 --- a/config.h +++ b/config.h @@ -4,8 +4,7 @@ const char* CC = "cc"; // C++ compiler const char* CXX = "c++"; -// The compilation options are chosen with gcc in mind, but clang should also work -// Other compilers are not tested, but may work +// Options are based on gcc, but should work for clang as well // You can read about gcc options by running "man gcc" // Compiler options to use... diff --git a/install.sh b/install.sh index 1c9248d..6e841c7 100755 --- a/install.sh +++ b/install.sh @@ -5,9 +5,7 @@ cd src # Install location PREFIX=/usr/local - # Compile cppipe -# The options are with gcc in mind, but should work with clang and maybe other compilers options="-std=c++17 -Ofast -fwhole-program -march=native -DNDEBUG -Wall -Wextra -Wno-parentheses -Wno-unused-result -s -pipe" # options="-std=c++17 -g" c++ -o cppipe $options cppipe.cpp diff --git a/src/commands.inl b/src/commands.inl index 32f7767..fd9ebad 100644 --- a/src/commands.inl +++ b/src/commands.inl @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include "commands.hpp"