Skip to content

Commit

Permalink
add more virtual func warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Sqvid committed Apr 2, 2024
1 parent 4ffb44a commit 701f7e2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions neovim/.config/nvim/templates/template.makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ OBJECTS = main.o
CC = gcc
CXX = g++

CFLAGS = -std=c99 -Wpedantic -Wall -Wextra -Wshadow -Wcast-align\
-Wconversion -Wno-sign-conversion -Wdouble-promotion -Wnull-dereference\
CFLAGS = -std=c99 -Wpedantic -Wall -Wextra -Wshadow -Wcast-align \
-Wconversion -Wno-sign-conversion -Wdouble-promotion -Wnull-dereference \
-Wmisleading-indentation -Wduplicated-cond -Wformat=2

CXXFLAGS = -std=c++17 -Wpedantic -Wall -Wextra -Wshadow -Wnon-virtual-dtor\
-Wold-style-cast -Wcast-align -Wuseless-cast -Wconversion\
-Wno-sign-conversion -Wdouble-promotion -Wnull-dereference\
-Wmisleading-indentation -Wduplicated-cond -Wformat=2
CXXFLAGS = -std=c++17 -Wpedantic -Wall -Wextra -Wshadow -Wnon-virtual-dtor \
-Wold-style-cast -Wcast-align -Wuseless-cast -Wconversion \
-Wno-sign-conversion -Wdouble-promotion -Wnull-dereference \
-Wsuggest-override -Woverloaded-virtual -Wmisleading-indentation \
-Wduplicated-cond -Wformat=2

# Debug flags.
DBGFLAGS = -g3 -O0
Expand Down

0 comments on commit 701f7e2

Please sign in to comment.