| 
hi,  All 
 
Does anyone know what mean macro.getExpansionImage() return null? 
 
Thanks 
 
Janboe 
 发件人: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> 代表 叶 渊博 <janboe.ye@xxxxxxxxxxx>发送时间: 2019年7月3日 2:50
 收件人: CDT General developers list.
 主题: [cdt-dev] 回复: editor still gray out the codes
   
Marc-Andre 
 
I used CDT to index beignet project. I define GBE_COMPILER_AVAILABLE macro in "Path and Symbols",  but it does not work. After I debug cdt, this macro is defined at first and is removed in org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor.addMacroDefinition(IIndexMacro
 macro). 
 
macro.getExpansionImage return null and it seems that pdom does not include this macro. Does you know the reason? 
 
Thanks 
 
Janboe 
 发件人: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> 代表 Marc-Andre Laperle <malaperle@xxxxxxxxx>发送时间: 2019年7月2日 19:07
 收件人: CDT General developers list.
 主题: Re: [cdt-dev] editor still gray out the codes
   Hi!
 
 Perhaps you could create a bug on Bugzilla [1] with an example and we could try a few steps to troubleshoot.
 
 
 Regards, Marc-André 
 
hi,  
 
I meet a problem that CDT still grays out #ifdef codes when the macro is defined. How can I start to debug this issue? 
Which function checks if the macro is defined or not? 
 
Thanks 
 
Janboe_______________________________________________
cdt-dev
 mailing list
cdt-dev@xxxxxxxxxxx
To
 change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev |