Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] The defaults of "Index unused headers" and "Index source and header files opened in editor" preferences

On Fri, Mar 2, 2012 at 10:48 AM, xgsa <xgsa@xxxxxxxxx> wrote:

Indexing of unused headers may result in some files being indexed out of context...

Can you get an example when it can be a problem (on CDT 8)?

Something like:

#ifdef MACRO

#define MACRO
#include "header.h"

If header.h is indexed before file.cpp is created, the part conditioned on MACRO is skipped.



Back to the top