LINBIT / drbd-utils

DRBD userspace utilities (for 9.x, 8.4, 8.3)
GNU General Public License v2.0
79 stars 47 forks source link

user/drbdmon/Makefile.in: --pedantic-errors should be -pedantic-errors #17

Closed AndrewV666 closed 2 years ago

AndrewV666 commented 2 years ago

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".

rck commented 2 years ago

fixed in https://github.com/LINBIT/drbd-utils/commit/64900ddc7b5c7b29de200705242ca66df384a986