Enable -Wobsolete by default

The fact that deprecations were common and quickly acted upon was raised by
some users
This commit is contained in:
ISSOtm
2020-07-21 21:05:54 +02:00
parent 0793e9effe
commit 8e92383fa3
2 changed files with 2 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ static enum WarningState const defaultWarnings[NB_WARNINGS] = {
WARNING_DISABLED, /* Empty entry in `db`, `dw` or `dl` */
WARNING_DISABLED, /* Constants too large */
WARNING_DISABLED, /* String too long for internal buffers */
WARNING_DISABLED, /* Obsolete things */
WARNING_ENABLED, /* Obsolete things */
WARNING_DISABLED, /* Shifting undefined behavior */
WARNING_DISABLED, /* Strange shift amount */
WARNING_ENABLED, /* Implicit truncation loses some bits */
@@ -101,7 +101,6 @@ static uint8_t const _wallCommands[] = {
/* Warnings that are less likely to indicate an error */
static uint8_t const _wextraCommands[] = {
WARNING_EMPTY_ENTRY,
WARNING_OBSOLETE,
META_WARNING_DONE
};