Skip to content

clang_nowarn_sim_common

Tsukasa OI edited this page Sep 13, 2022 · 6 revisions

Clang: Suppress warnings if built with Clang (sim/common)

Issue Solved

This patchset contains four minor fixes to the files under sim/common.

Each contains minor fixes to suppress Clang warnings. Especially, adding ATTRIBUTE_PRINTF (PATCH 1/4) is important for better static analysis, even from GNU toolchain side.

Clone this wiki locally