C++ Parser and gcc internal defines

Gunther Piez gpiez at web.de
Sat May 29 09:56:42 BST 2010


On Saturday 29 May 2010 10:18:09 Esben Mose Hansen wrote:

> __FUNC__	string literal
> __LINE__	int literal
> __FILE__	string literal
> __FUNCTION__	string literal
> __PRETTY_FUNCTION__	string literal
> __func__	const char* const
> 
> Expanding to the correct value is, on the other hand, probably overkill.

Yes, you are right.

BTW, I just checked that the command I gave works in icc (Intels compiler) 
almost the same way.
Anyway, is my understanding correct, that there is currently no handling of 
gcc internal macros/defines? Should I file a bug report/enhancement request 
for it?

- Gunther




More information about the KDevelop mailing list