error shows: "expected a ';' "
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.
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