Home
last modified time | relevance | path

Searched hist:a748f9edcfac16796a2dd3d4bc78496ebe3ddd39 (Results 1 – 2 of 2) sorted by relevance

/optee_os/mk/
H A Dcompile.mka748f9edcfac16796a2dd3d4bc78496ebe3ddd39 Wed Nov 24 11:13:33 UTC 2021 Jens Wiklander <jens.wiklander@linaro.org> Add config option CFG_WARN_DECL_AFTER_STATEMENT

Adds configuration option CFG_WARN_DECL_AFTER_STATEMENT which adds the
warning -Wdeclaration-after-statement.

The coding style doesn't allow declarations after statements in the
code. So add a warning for this to let the compiler catch this before
the review.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
H A Dconfig.mka748f9edcfac16796a2dd3d4bc78496ebe3ddd39 Wed Nov 24 11:13:33 UTC 2021 Jens Wiklander <jens.wiklander@linaro.org> Add config option CFG_WARN_DECL_AFTER_STATEMENT

Adds configuration option CFG_WARN_DECL_AFTER_STATEMENT which adds the
warning -Wdeclaration-after-statement.

The coding style doesn't allow declarations after statements in the
code. So add a warning for this to let the compiler catch this before
the review.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>