conditionally defined function is not visible at Outline pane
Sergei Yakovlev
syakovlev at thinksrs.com
Thu May 31 23:32:18 UTC 2007
Please see attached files as small test case:
If function foo_1() is unconditionally defined in file main.c,
then one can see it at Outline pane when main.c is open in editor.
On the other hand function foo_2() is conditionally defined in main.c
In this case one can't see it at Outline pane regardless constant DEF
is really defined in file config.h that is included in file main.c.
Both functions could be found in *.map file.
If line
#ifdef DEF
is changed to line
#ifndef DEF
then function foo_2() become visible in Outline pane.
Imho this odd behavior needs a fix.
Regards.
Sergei.
PS. I'll be appreciated if somebody points my mistake.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.h
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20070531/f87890c2/attachment.h>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: main.c
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20070531/f87890c2/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Buildmap.map
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20070531/f87890c2/attachment.ksh>
More information about the coldfire-gnu-discuss
mailing list