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
|
||||
CPPFLAGS := -Iinclude -MMD -MP
|
||||
endif
|
||||
CFLAGS = -O -Wall -W -pedantic -ansi -std=c99
|
||||
CFLAGS = -O -Wall -W -pedantic -ansi -std=c2x
|
||||
LDFLAGS := -Llib
|
||||
LDLIBS := -lm
|
||||
|
||||
|
@ -136,7 +136,7 @@ int main(int argc, char *argv[])
|
||||
optopt);
|
||||
exit(EXIT_FAILURE);
|
||||
case 'h':
|
||||
/* FALLTHROUGH */
|
||||
[[fallthrough]];
|
||||
default:
|
||||
usage();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user