Vscode-cpptools: cpptools can't recognize far/near keyword

Created on 29 Sep 2019  路  4Comments  路  Source: microsoft/vscode-cpptools

鎹曡幏

error shows: "expected a ';' "

Feature Request Language Service more votes needed

Most helpful comment

I am using VS Code to edit the code of an old project on 80186 based 碌C and have the same errors with far/near pointers. It is no wonder that I can't complie my project with modern compilers but I really like the features of VS Code such as IntelliSense

All 4 comments

Our parser has near/far support disabled (same as the VS default). How exactly are you getting your compiler to support that? i.e. what compiler/flags? I see it used for 16-bit compilation with older Microsoft compilers.

I am using VS Code to edit the code of an old project on 80186 based 碌C and have the same errors with far/near pointers. It is no wonder that I can't complie my project with modern compilers but I really like the features of VS Code such as IntelliSense

A workaround would be to add "near=" and "far=" to the "defines" array in c_cpp_properties.json

This feature request is being closed due to insufficient upvotes. When enough upvotes are received, this issue will be eligible for our backlog.

Was this page helpful?
0 / 5 - 0 ratings