Description
The following nosensical code:
#include <stdio.h>
int main() {
int i = 1;
int *p = i;
int **q = p;
printf("%d, %p\n", *p, *q);
return 0;
}
does not give an error in the IDE. GCC errors on this code even without warning flags:
Issue Details
| Item |
Value |
| Issue Category |
Bug |
| Target |
C/C++ |
| VS Code Version |
Code 1.127.0 (4fe60c8b1cdac1c4c174f2fb180d0d758272d713, 2026-06-30T10:52:33+02:00) |
| OS Version |
Linux x64 6.8.0-134-generic |
| Extension Identifier |
ms-vscode.cpptools |
| Extension Version |
1.33.4 |
| Extension Publisher |
ms-vscode |
Description
The following nosensical code:
does not give an error in the IDE. GCC errors on this code even without warning flags:
Issue Details