Commit db633b8c authored by gabime's avatar gabime

fix bench warning and flags for gcc 4.8.1

parent 0c651896
CXX = g++ CXX = g++
CXXFLAGS = -march=native -Wall -pthread -I../include --std=c++11 CXXFLAGS = -march=native -Wall -Wextra -Wshadow -pedantic -std=c++11 -pthread -Wl,--no-as-needed -I../include
CXX_RELEASE_FLAGS = -O3 -flto CXX_RELEASE_FLAGS = -O3 -flto
......
...@@ -30,7 +30,7 @@ void init() ...@@ -30,7 +30,7 @@ void init()
} }
int main(int argc, char* argv[]) int main(int argc, char* [])
{ {
int howmany = 1000000; int howmany = 1000000;
init(); init();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include "spdlog/spdlog.h" #include "spdlog/spdlog.h"
int main(int argc, char* argv[]) int main(int argc, char* [])
{ {
int howmany = 1000000; int howmany = 1000000;
namespace spd = spdlog; namespace spd = spdlog;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment