diff options
author | Justin Chadwell <justin.chadwell@arm.com> | 2019-09-18 14:47:19 +0100 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2019-12-16 09:05:42 +0000 |
commit | 11a96e0ea04f4b2c53e6431f690d7912bb645552 (patch) | |
tree | 72986dd93c83b1263906018d0541845aefc1f050 /docs | |
parent | ef771a4d0dc7df042cf0fcbe0f763fd777b21eec (diff) | |
download | platform_external_arm-trusted-firmware-11a96e0ea04f4b2c53e6431f690d7912bb645552.tar.gz platform_external_arm-trusted-firmware-11a96e0ea04f4b2c53e6431f690d7912bb645552.tar.bz2 platform_external_arm-trusted-firmware-11a96e0ea04f4b2c53e6431f690d7912bb645552.zip |
Remove -Wpadded warning
-Wpadded warns whenever the C compiler automatically includes any
padding in a structure. Because TF-A has a large number of structures,
this occurs fairly frequently and is incredibly verbose, and as such is
unlikely to ever be fixed.
The utility of this warning is also extremely limited - knowing that a
structure includes padding does not point to the existence of an error,
and is probably quite unlikely to indicate actually buggy behaviour.
Therefore, it's probably best to keep this warning off at all times.
Change-Id: I0797cb75f06b4fea0d2fdc16fd5ad978a31d76ec
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/process/security-hardening.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/process/security-hardening.rst b/docs/process/security-hardening.rst index 49678719f..a18a79203 100644 --- a/docs/process/security-hardening.rst +++ b/docs/process/security-hardening.rst @@ -30,9 +30,8 @@ Several build options can be used to check for security issues. Refer to the - W=1 - Adds ``Wextra``, ``Wmissing-declarations``, ``Wmissing-format-attribute``, - ``Wmissing-prototypes``, ``Wold-style-definition`` and - ``Wunused-const-variable``. + Adds ``Wextra``, ``Wmissing-format-attribute``, ``Wmissing-prototypes``, + ``Wold-style-definition`` and ``Wunused-const-variable``. - W=2 @@ -42,7 +41,7 @@ Several build options can be used to check for security issues. Refer to the - W=3 Adds ``Wbad-function-cast``, ``Wcast-qual``, ``Wconversion``, ``Wpacked``, - ``Wpadded``, ``Wpointer-arith``, ``Wredundant-decls`` and + ``Wpointer-arith``, ``Wredundant-decls`` and ``Wswitch-default``. Refer to the GCC or Clang documentation for more information on the individual |