The analyzer found a possible error related to the use of memsize type for catching exception. The error may consist in the incorrect exception handling.
Let’s examine an example of the code which contains throw and catch operators.
Copy Code | |
|---|---|
| |
This behavior change is connected with what on 64-bit system the size_t type is equivalent to UINT64.
Correction of the described situation consists in change of a code for achievement of necessary logic of work.
More right correction will consist in refusal of similar practice of programming. We recommend using special classes for sending information about the error.
See also: