On 2/1/2024 2:18 AM, Bonita Montero wrote:
Am 31.01.2024 um 21:32 schrieb Chris M. Thomasson:
I think it is relevant. Also, what's up with all of those pragmas
anyway?
They suppress warnings and the type of warning is in the commment.
Oh, I know all about that. But why in the world would anybody want to suppress warnings that deal with:
_________________
#pragma warning(disable: 26110) // Caller failing to hold lock 'lock' before calling function 'func'.
#pragma warning(disable: 26111) // Caller failing to release lock 'lock' before calling function 'func'.
#pragma warning(disable: 26115) // Failing to release lock 'lock' in function 'func'.
#pragma warning(disable: 26117) // Releasing unheld lock 'lock' in function 'func'.
#pragma warning(disable: 26800) // Use of a moved from object: 'object'.
_________________
Wow! ;^o
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 57:07:32 |
Calls: | 10,397 |
Calls today: | 5 |
Files: | 14,067 |
Messages: | 6,417,448 |
Posted today: | 1 |