vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

On Linux, system library functions are suggested to be added with an include relative to the file instead of relying on the system include path

Open sean-mcmanus opened this issue 1 year ago • 0 comments

Repro/bug is image

The expected result is like

#include <bits/algorithmfwd.h>

because the first includePath entry is /usr/include/c++/11

The root bug could potentially manifest in other scenarios (other OS's and potentially non-system include paths, but I haven't verified that.

This bug was not found by me, but by another "internal team".

sean-mcmanus avatar Feb 13 '24 20:02 sean-mcmanus