/Zc:alignedNew- compiler option results in an intellisense command line error: "invalid option: --no_overaligned_allocation #11350
Labels
bug
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
quick fix
regression
A bug that didn't exist in a previous release
Milestone
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
/Zc:alignedNew- is not being translated correctly for the intellisense frontend. We're getting a command line error.
Steps to reproduce:
"C_Cpp.default.compilerArgs": [
"/Zc:alignedNew-"
]
command-line error: invalid option: --no_overaligned_allocation
This is mimicking an error I am seeing in the Windows Razzle build environment for some projects that pass the /Zc:alignedNew- flag.
Expected behavior:
Intellisense should be able to parse my file successfully even if I pass "/Zc:alignedNew-".
Configuration and Logs
Other Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: