But according to "man gcc | fgrep pedantic-errors":
-fsyntax-only -fmax-errors=n -Wpedantic -pedantic-errors -w
-pedantic-errors
error by -pedantic-errors.
(one dash).
GCC admits the "--pedantic-errors" form, some other compilers not.
Please, change this option to "-pedantic-errors".
In user/drbdmon/Makefile.in: CXXFLAGS=-std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror --pedantic-errors -fPIC -O2 \
But according to "man gcc | fgrep pedantic-errors": -fsyntax-only -fmax-errors=n -Wpedantic -pedantic-errors -w -pedantic-errors error by -pedantic-errors. (one dash).
GCC admits the "--pedantic-errors" form, some other compilers not. Please, change this option to "-pedantic-errors".