We put empty object files in archives, which causes MSVC's linker to
complain about these objects not defining any previously undefined
symbols. Since we do it on purpose, this only creates noise during
the build process. This patch causes us to suppress the warnings.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 2577 Build 2577: arc lint + arc unit
Event Timeline
Comment Actions
lgtm
CMakeLists.txt | ||
---|---|---|
229–231 | I'd simplify the first two sentences to something like: The reader should already know that we aim to have zero warnings and that we silence noisy warnings. |
I'd simplify the first two sentences to something like:
Silence MSVC linker warning about empty object files. The sanitizer libraries intentionally use ifdefs to compile out entire files, rather than skipping them in the build system. Ideally, ...
The reader should already know that we aim to have zero warnings and that we silence noisy warnings.