1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00
cdt/core
Marc-Andre Laperle 4e16631f30 Bug 360919 - [MSVC] preprocessor symbol __STDC__ always defined
Move the __STDC__ macro to the scanner configuration extension, where we can
differentiate compiler type. Only add it when compiler type is not MSVC.
This will miss the case where MSVC is compiling in C mode and /Za is used,
then __STDC__ should be defined but this is a much less common case and would be
addressed likely outside scanner configuration.

See also
https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros

Change-Id: Icc5d3ef038fb468efe33802a04fc78fc1e5e583e
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-10-03 23:14:32 -04:00
..
org.eclipse.cdt.core Bug 360919 - [MSVC] preprocessor symbol __STDC__ always defined 2019-10-03 23:14:32 -04:00
org.eclipse.cdt.core.linux [releng] Bump version to 9.9.0 2019-06-11 12:33:48 -04:00
org.eclipse.cdt.core.linux.ppc64le [releng] Bump version to 9.9.0 2019-06-11 12:33:48 -04:00
org.eclipse.cdt.core.linux.x86_64 [releng] Bump version to 9.9.0 2019-06-11 12:33:48 -04:00
org.eclipse.cdt.core.macosx [releng] Bump version to 9.9.0 2019-06-11 12:33:48 -04:00
org.eclipse.cdt.core.native Remove remnants of no longer supported arches 2019-06-19 16:10:21 -04:00
org.eclipse.cdt.core.tests Revert "Bug 549362 - Aggregate init for union-like classes" 2019-10-02 07:51:46 +02:00
org.eclipse.cdt.core.win32 [releng] Bump version to 9.9.0 2019-06-11 12:33:48 -04:00
org.eclipse.cdt.core.win32.x86_64 [releng] Bump version to 9.9.0 2019-06-11 12:33:48 -04:00
org.eclipse.cdt.ui Bug 550076 - Use PE64 parser by default 2019-09-09 15:56:07 -04:00
org.eclipse.cdt.ui.tests Bug 522200: [C++17] Add support for structured binding declarations 2019-08-05 09:00:35 +02:00
pom.xml [releng] Bump version to 9.9.0 2019-06-11 12:33:48 -04:00