3 ms·
On MSVC, default project settings I get: warning C4267: 'argument': conversion from 'size_t' to 'short', possible loss of data https://godbolt.org/z/nYeWT
by gruez 5y ago
On MSVC, default project settings I get:
warning C4267: 'argument': conversion from 'size_t' to 'short', possible loss of data
https://godbolt.org/z/nYeWT7zv6 https://godbolt.org/z/nYeWT7zv6 (/W3 is the default warning level when creating a new project)
I saw these warnings so often that I assumed that every compiler had them.