mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2024-11-15 17:40:56 +00:00
upd makefile to compile for c2x
replace fallthrough comment with fallthrough attribute
This commit is contained in:
parent
babec7abbb
commit
d7d42e4b21
2
makefile
2
makefile
@ -15,7 +15,7 @@ ifeq ($(LOG_USE_COLOR), yes)
|
|||||||
else
|
else
|
||||||
CPPFLAGS := -Iinclude -MMD -MP
|
CPPFLAGS := -Iinclude -MMD -MP
|
||||||
endif
|
endif
|
||||||
CFLAGS = -O -Wall -W -pedantic -ansi -std=c99
|
CFLAGS = -O -Wall -W -pedantic -ansi -std=c2x
|
||||||
LDFLAGS := -Llib
|
LDFLAGS := -Llib
|
||||||
LDLIBS := -lm
|
LDLIBS := -lm
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ int main(int argc, char *argv[])
|
|||||||
optopt);
|
optopt);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
case 'h':
|
case 'h':
|
||||||
/* FALLTHROUGH */
|
[[fallthrough]];
|
||||||
default:
|
default:
|
||||||
usage();
|
usage();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user