mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 12:25:35 +02:00
![]() Don't define __STDC__ for clang-cl, just like msvc. Added a new compiler type to differentiate clang-cl from clang in order to be able to add the define just for clang and not clang-cl. I initially thought that the unresolved symbol was caused by a missing built-in symbol (_alloca) so I started to implement MSVC as a separate language from GNU and not pollute GCCBuiltinSymbolProvider with a new concept of compiler type, etc. But it turns out _alloca is also in declared in the headers and was inactive because of the wrongly defined __STDC__. So this version of the fix of adding a compiler type to GPPScannerExtensionConfiguration is much less intrusive and risky, although adding a new language could have its merit in case of more substantial change. Change-Id: Ieb27b7dbcc531b8fd3fe30777cd7f343fd3ba66f Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com> |
||
---|---|---|
.. | ||
org.eclipse.cdt.core | ||
org.eclipse.cdt.core.linux | ||
org.eclipse.cdt.core.linux.aarch64 | ||
org.eclipse.cdt.core.linux.ppc64le | ||
org.eclipse.cdt.core.linux.x86_64 | ||
org.eclipse.cdt.core.macosx | ||
org.eclipse.cdt.core.native | ||
org.eclipse.cdt.core.tests | ||
org.eclipse.cdt.core.win32 | ||
org.eclipse.cdt.core.win32.x86_64 | ||
org.eclipse.cdt.ui | ||
org.eclipse.cdt.ui.tests | ||
pom.xml |