birdwl

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d136dadf456250f9a4cef23abd1fdf21518a31ba
parent 672b4c405d5207cadc572190affbe41e653e7a8c
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date:   Thu,  1 Aug 2024 20:38:57 -0600

`-pedantic` -> `-Wpedantic`

Bug: https://codeberg.org/dwl/dwl/issues/584

Diffstat:
MMakefile | 2+-
Mconfig.mk | 5++++-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -6,7 +6,7 @@ include config.mk # flags for compiling DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L \ -DVERSION=\"$(VERSION)\" $(XWAYLAND) -DWLDEVCFLAGS = -g -pedantic -Wall -Wextra -Wdeclaration-after-statement \ +DWLDEVCFLAGS = -g -Wpedantic -Wall -Wextra -Wdeclaration-after-statement \ -Wno-unused-parameter -Wshadow -Wunused-macros -Werror=strict-prototypes \ -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types \ -Wfloat-conversion diff --git a/config.mk b/config.mk @@ -14,4 +14,7 @@ XLIBS = #XWAYLAND = -DXWAYLAND #XLIBS = xcb xcb-icccm -CC = gcc +# dwl itself only uses C99 features, but wlroots' headers use anonymous unions (C11). +# To avoid warnings about them, we do not use -std=c99 and instead of using the +# gmake default 'CC=c99', we use cc. +CC = cc