[GCC-XML] inline Functions in Current CVS

Brad King brad.king at kitware.com
Mon Oct 24 09:12:13 EDT 2005


Phil Thompson wrote:
> I was using v0.6.0 quite happily but upgraded to the CVS version about 3/4 
> weeks ago because of the support for "explicit". However, another change is 
> giving me severe problems...
> 
> It seems that if a function is declared and later on defined using "inline", 
> the line number put into the XML is that of the definition rather than the 
> declaration. I think the v0.6.0 behaviour was to use the declaration line 
> number.
> 
> Is this change intentional? Do I have any options (apart from going back to 
> v0.6.0) to workaround this?

This change may have been intentional, but I do not remember for sure. 
Some people will want the declaration and some the definition when both 
are available.  We may need to try to include both in the output. 
Please report a feature request here:

http://www.gccxml.org/Bug

Thanks,
-Brad



More information about the gccxml mailing list