fix bench warning and flags for gcc 4.8.1

This commit is contained in:
gabime 2014-11-05 02:29:01 +02:00
parent 0c6518961d
commit db633b8c53
3 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,5 @@
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

View File

@ -30,7 +30,7 @@ void init()
}
int main(int argc, char* argv[])
int main(int argc, char* [])
{
int howmany = 1000000;
init();

View File

@ -2,7 +2,7 @@
#include "spdlog/spdlog.h"
int main(int argc, char* argv[])
int main(int argc, char* [])
{
int howmany = 1000000;
namespace spd = spdlog;