Open MJJ-Shuai opened 1 month ago
We currently only recognise __nullptr
in clang and g++ mode, but Visual Studio appears to have it too:
https://learn.microsoft.com/en-us/cpp/extensions/nullptr-cpp-component-extensions?view=msvc-170
In the meantime, as a workaround, may I suggest you write the code as plain C code, as opposed to C++ code. Your program doesn't have any C++ in it, and it will avoid triggering the error.
@kroening Thank you for your reply. In addition, I have another question: Does CBMC support gmp large number arithmetic library?
No, but it has its own built-in unbounded integer, arbitrary-width integer, fixed-point and floating-point types.
The above is the ERROR I encountered, while the below is my source program. As you can see, I want to use CBMC to generate the SMT formula corresponding to my C code, but I encounter CONVERSION ERROR, I want to know the specific reason?