You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling Chatterino, there are a few warnings. These depend on the compiler and configuration used, so I'd like to collect them all here and have some kind of tracking issue.
If you're fixing a warning, please do one category (e.g. unused variables) or subcategory or file at a time (like #4818).
I'll start with Qt 6 on Windows with MSVC. Note that C4100, C4458, and C4267 are explicitly disabled in CMake.
Update: MSVC doesn't report any warnings now.
clang-cl reports the following warnings:
missing-field-initializers
This is really noisy, especially for Emote, but easy to fix.
When compiling Chatterino, there are a few warnings. These depend on the compiler and configuration used, so I'd like to collect them all here and have some kind of tracking issue.
If you're fixing a warning, please do one category (e.g. unused variables) or subcategory or file at a time (like #4818).
I'll start with Qt 6 on Windows with MSVC. Note that C4100, C4458, and C4267 are explicitly disabled in CMake.
Update: MSVC doesn't report any warnings now.
clang-cl
reports the following warnings:missing-field-initializers
This is really noisy, especially for
Emote
, but easy to fix.unused-function
unused-variable
unused-but-set-variable
unused-lambda-capture
switch
This warning is off on non-MSVC builds. I'd argue it should be turned on.
unused-private-field
tautological-constant-out-of-range-compare
The text was updated successfully, but these errors were encountered: