|Re: C++ does not support int [message #1841119 is a reply to message #1841118]
||Tue, 04 May 2021 12:34
Registered: October 2012
It helps to understand how to use your tools.|
The first error message is lloc.h(72,30). error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
The second is lloc.h(72,21). error C2146: syntax error: missing ';' before identifier '_callnewh'
It's saying that it does not support a default (return value) of int
because the C++ language doesn't support it
and NOT that it doesn't support int.
The error is in file lloc.h at line 72 and likely there is an undefined type preceding _callnewh.
If lloc.h is not yours then it's likely something Visual C++ pulled in from its built-in includes
and there's probably something that needs additional setup when using Visual.
What it is can't be determined from what you've given here although someone might happen to know.
This is not a CDT issue which is the topic of this forum.
You should be asking this at a site devoted to Microsoft Visual C++ and not here.
[Updated on: Tue, 04 May 2021 12:57]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02233 seconds