From 2318b0ea37fa0c156900739f8f169478b3c572a4 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Wed, 18 Nov 2009 22:10:03 +0000 Subject: [PATCH] Fixed resolution of macros defined in bits/signum.h. Bug 295518. --- .../core/pdom/indexer/IndexerPreferences.java | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java index c4fdd501acf..60fa3a0122c 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java @@ -59,16 +59,18 @@ public class IndexerPreferences { private static final String KEY_INDEX_IMPORT_LOCATION = "indexImportLocation"; //$NON-NLS-1$ private static final String DEFAULT_INDEX_IMPORT_LOCATION = ".settings/cdt-index.zip"; //$NON-NLS-1$ - // See https://bugs.eclipse.org/bugs/show_bug.cgi?id=259843 - // and https://bugs.eclipse.org/bugs/show_bug.cgi?id=294180 for the rationale. + // See http://bugs.eclipse.org/bugs/show_bug.cgi?id=259843, + // http://bugs.eclipse.org/bugs/show_bug.cgi?id=294180 and + // http://bugs.eclipse.org/bugs/show_bug.cgi?id=295518 for the rationale. private static final String DEFAULT_FILES_TO_PARSE_UP_FRONT= - "cstdarg, " + // configures stdarg.h for c++ //$NON-NLS-1$ - "stdarg.h, " + // can be fragmented //$NON-NLS-1$ - "stddef.h, " + // can be fragmented //$NON-NLS-1$ - "sys/resource.h, " + // configures bits/time.h, !! fragments stddef.h !! //$NON-NLS-1$ - "ctime, " + // configures time.h for c++ //$NON-NLS-1$ - "sys/types.h, " + // can be fragmented, !! fragments bits/time.h !! //$NON-NLS-1$ - "cstdio"; // configures stdio.h for c++ //$NON-NLS-1$ + "cstdarg, " + // configures stdarg.h for c++ //$NON-NLS-1$ + "stdarg.h, " + // can be fragmented //$NON-NLS-1$ + "stddef.h, " + // can be fragmented //$NON-NLS-1$ + "sys/resource.h, " + // configures bits/time.h, !! fragments stddef.h !! //$NON-NLS-1$ + "ctime, " + // configures time.h for c++ //$NON-NLS-1$ + "sys/types.h, " + // can be fragmented, !! fragments bits/time.h !! //$NON-NLS-1$ + "signal.h, " + // configures bits/signum.h //$NON-NLS-1$ + "cstdio"; // configures stdio.h for c++ !! fragments bits/signum.h !! //$NON-NLS-1$ private static final int DEFAULT_UPDATE_POLICY= 0; private static final String QUALIFIER = CCorePlugin.PLUGIN_ID;