Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

What does the error code in VS Code IntelliSense errors refer to?

Let’s say I write a faulty piece of code in C++, such as:

const int x;

VS Code’s IntelliSense will throw an error of the type:

const variable "x" requires an initializer C/C++(257)

I am curious what the error code between parentheses (here 257) refers to – is it quoting the ISO Standard?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

is it quoting the ISO Standard?

No, it is not referring the ISO standard when it uses 257.

Instead it is referring to its own internal error code 257. VSCode has different error codes for different errors. Different error code list for vscode should be available at their official site.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading