Merge pull request #618 from DarthGandalf/cxx11

Enable C++11.
This commit is contained in:
Alexey Sokolov
2014-08-11 21:36:56 +01:00
5 changed files with 156 additions and 7 deletions
+2
View File
@@ -7,6 +7,8 @@ PERL_LD := $(shell $(PERL) -MExtUtils::Embed -e ldopts)
# Perl API is ugly, casting string literals to char* and redeclaring functions :(
PERL_CXX += -Wno-write-strings -Wno-redundant-decls -Wno-missing-declarations
PERL_CXX += -Wno-type-limits -Wno-sign-compare -Wno-strict-overflow -Wno-unused-value
# perl 5.20 will fix this warning: https://rt.perl.org/Public/Bug/Display.html?id=120670
PERL_CXX += -Wno-reserved-user-defined-literal
# This is for SWIG
PERL_CXX += -DSWIG_TYPE_TABLE=znc
PERLCEXT_EXT := $(shell $(PERL) -MConfig -e'print $$Config::Config{dlext}')