-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MinGW (TDM-GCC) IntelliSense problems #888
Comments
Can you locate the missing file and add the path to it? From what I read online, MinGW doesn't have termios.h. Maybe you can add a path to a dummy termios.h file as a workaround. |
If the file doesn't exist, the issue is most likely due to a missing "define" sending IntelliSense down the wrong path during compilation. I haven't had a chance to look into this issue yet, but will soon. BTW, clang-x64 mode is what you want if you're using MinGW. |
(Oh, and if you could provide a source code snippet that would be nice so I can see which Boost headers are giving you trouble) |
Ok, so it goes like this:
In asio.hpp:
netdb.h: basic_datagram_socket.hpp -> basic_socket.hpp -> basic_io_object.hpp -> io_service.hpp:
And there in task_io_service.hpp squiggles are gone, wtf. Let's go with termios: basic_serial_port.hpp -> serial_port_base.hpp and there squiggles disappear. |
Thanks for the additional information. I can reproduce the missing squiggles when you open the header files. There is something strange going on when you open certain of these boost headers which results in starving the processing of our input queue which basically disables our extension. I'm investigating. |
Adding I have another fix for the input queue starving as well. |
Hi there,
I'm developing using VSCode 1.14.1, ms-vscode.cpptools 0.12.0
I've problem using TDM GCC 5.1 - everything works fine except Intellisense with Boost. After including boost to my project, it's
#include
squiggles with intrin.h not found error. So I've switched intellisense mode to clang-x64 and now squiggles changed to termios.h. My include & browse paths look like this:Problems disappear if I don't use boost, but I guess that's not really a solution. ;)
The text was updated successfully, but these errors were encountered: