Merge "Remove -Wpadded warning" into integration
This commit is contained in:
commit
255b380afa
1
Makefile
1
Makefile
|
@ -261,7 +261,6 @@ WARNING3 := -Wbad-function-cast
|
||||||
WARNING3 += -Wcast-qual
|
WARNING3 += -Wcast-qual
|
||||||
WARNING3 += -Wconversion
|
WARNING3 += -Wconversion
|
||||||
WARNING3 += -Wpacked
|
WARNING3 += -Wpacked
|
||||||
WARNING3 += -Wpadded
|
|
||||||
WARNING3 += -Wpointer-arith
|
WARNING3 += -Wpointer-arith
|
||||||
WARNING3 += -Wredundant-decls
|
WARNING3 += -Wredundant-decls
|
||||||
WARNING3 += -Wswitch-default
|
WARNING3 += -Wswitch-default
|
||||||
|
|
|
@ -30,9 +30,8 @@ Several build options can be used to check for security issues. Refer to the
|
||||||
|
|
||||||
- W=1
|
- W=1
|
||||||
|
|
||||||
Adds ``Wextra``, ``Wmissing-declarations``, ``Wmissing-format-attribute``,
|
Adds ``Wextra``, ``Wmissing-format-attribute``, ``Wmissing-prototypes``,
|
||||||
``Wmissing-prototypes``, ``Wold-style-definition`` and
|
``Wold-style-definition`` and ``Wunused-const-variable``.
|
||||||
``Wunused-const-variable``.
|
|
||||||
|
|
||||||
- W=2
|
- W=2
|
||||||
|
|
||||||
|
@ -42,7 +41,7 @@ Several build options can be used to check for security issues. Refer to the
|
||||||
- W=3
|
- W=3
|
||||||
|
|
||||||
Adds ``Wbad-function-cast``, ``Wcast-qual``, ``Wconversion``, ``Wpacked``,
|
Adds ``Wbad-function-cast``, ``Wcast-qual``, ``Wconversion``, ``Wpacked``,
|
||||||
``Wpadded``, ``Wpointer-arith``, ``Wredundant-decls`` and
|
``Wpointer-arith``, ``Wredundant-decls`` and
|
||||||
``Wswitch-default``.
|
``Wswitch-default``.
|
||||||
|
|
||||||
Refer to the GCC or Clang documentation for more information on the individual
|
Refer to the GCC or Clang documentation for more information on the individual
|
||||||
|
|
Loading…
Reference in New Issue