mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Remove compiler warnings that are not valid for u16.
This commit is contained in:
parent
c49eaec776
commit
31cdd9d20b
@ -109,6 +109,10 @@
|
||||
<p>Don't perform valgrind when requested.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Remove compiler warnings that are not valid for u16.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Fix typo in unit test error messages, EXECTED => EXPECTED.</p>
|
||||
</release-item>
|
||||
|
@ -364,7 +364,9 @@ sub run
|
||||
"CFLAGS=-I. -std=c99 -fPIC -g" . ($self->{bProfile} ? " -pg" : '') . "\\\n" .
|
||||
" -Werror -Wfatal-errors -Wall -Wextra -Wwrite-strings -Wno-clobbered -Wswitch-enum -Wconversion \\\n" .
|
||||
($self->{oTest}->{&TEST_VM} eq VM_U16 || $self->{oTest}->{&TEST_VM} eq VM_U18 ?
|
||||
" -Wformat-signedness -Wduplicated-branches -Wduplicated-cond \\\n" : '') .
|
||||
" -Wformat-signedness \\\n" : '') .
|
||||
($self->{oTest}->{&TEST_VM} eq VM_U18 ?
|
||||
" -Wduplicated-branches -Wduplicated-cond \\\n" : '') .
|
||||
# This warning appears to be broken on U12 even though the functionality is fine
|
||||
($self->{oTest}->{&TEST_VM} eq VM_U12 || $self->{oTest}->{&TEST_VM} eq VM_CO6 ?
|
||||
" -Wno-missing-field-initializers \\\n" : '') .
|
||||
|
Loading…
x
Reference in New Issue
Block a user