Closed pasis closed 7 months ago
The false positive warning is generated during linking phase. Cast array size to 32bit type to suppress the warning.
The warning appears in --enable-lto configuration likely due to inlined new[] operator and generated to the underlying malloc() call.
Fix false positive warning.
What kind of change does this PR introduce?
@pasis, please merge and move to fix. Thanks.
Description
The false positive warning is generated during linking phase. Cast array size to 32bit type to suppress the warning.
The warning appears in --enable-lto configuration likely due to inlined new[] operator and generated to the underlying malloc() call.
What
Fix false positive warning.
Why ?
Fix false positive warning.
Change type
What kind of change does this PR introduce?
Check list