-
Notifications
You must be signed in to change notification settings - Fork 234
When Complier property is present in c_cpp_properties.json a file name null.d is created #1206
Comments
No, but I can reproduce this on Linux. What contents does the file have on your machine? On mine it reads:
|
So it seems this file is generated only when the project is loaded. EDIT1: I tried to debug this, but the file gets created during very early initialization where all breakpoints are deactivated. It happens even before the automated IntelliSense configuration rebuild that happens every time you load an Arduino project. No idea how to debug this now without breakpoints, any pointers would be welcome :) EDIT2: I tested a few different setups and I can't pin this down at all. Even close+open as described above doesn't reliably trigger the bug. Now, after testing this on a few different examples, I can't reproduce it at all. I guess we could always check for this file and just delete it as a hot-fix, but that seems like a very bad solution. What really baffles me is that this file looks like a very rudimentary makefile for some |
The file is created even with the Arduino extension disabled, so I think this is actually a bug with IntelliSense |
Huh, that is super weird. It could also be related to the C/C++ extension and the long |
So I narrowed it down to specifically the Is it strictly necessary to include all complier args in |
Huh, I stumbled across that as well, should've dug deeper. We could leave out Let's try it without |
I just checked the documentation on
I think it's fine to remove it since it seems that everything is working fine without it, we should document this in case it needs to be added back in at some point. |
@iFreilicht #1208 should fix this. It's a bit brute force, but it works. |
See microsoft/vscode-arduino#1206 and https://developer.arm.com/documentation/101754/0616/armclang-Reference/armclang-Command-line-Options/-MD---MMD no idea why we would want this flag anyway.
See microsoft/vscode-arduino#1206 and https://developer.arm.com/documentation/101754/0616/armclang-Reference/armclang-Command-line-Options/-MD---MMD no idea why we would want this flag anyway.
See microsoft/vscode-arduino#1206 and https://developer.arm.com/documentation/101754/0616/armclang-Reference/armclang-Command-line-Options/-MD---MMD no idea why we would want this flag anyway.
See microsoft/vscode-arduino#1206 and https://developer.arm.com/documentation/101754/0616/armclang-Reference/armclang-Command-line-Options/-MD---MMD no idea why we would want this flag anyway.
See microsoft/vscode-arduino#1206 and https://developer.arm.com/documentation/101754/0616/armclang-Reference/armclang-Command-line-Options/-MD---MMD no idea why we would want this flag anyway.
I ran into this testing on MacOS. @iFreilicht any idea what might be causing this?
The text was updated successfully, but these errors were encountered: