Hi, This cannot necessarily be said to be a bug. The C++ parser assumes function declarations as a reference, not a definition for convenience, because it does not have function body.
Definition: Function body Declaration: Function type Since there is no definition of 'dhcpctl_new_object', global considers it as other symbol. $ global -s dhcpctl_new_object dhcpctl.h omapi_test.c $ _ Anyway, thank you for the report. 2014-04-16 16:24 GMT+09:00 Tu Do <[email protected]>: > Please use the attached file as sample. > > - What is your environment (OS)? > - Ubuntu 13.10 > > > - Which version of GLOBAL are you using? > - 6.2.12 > > > - What did you do? (command line) > - global -r dhcpctl_new_object > > > - What did you expect from it? > - *dhcpctl_new_object * displayed correctly as a definition. > > > - What was occurred? (as is) > - Nothing is displayed, even though I used *dhcpctl_new_object* in > the file *omapi_test.c *and the function also exists in *dhcpctl.h* > > Regards, > > Tu. > > _______________________________________________ > Bug-global mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-global > > -- Shigio YAMAGUCHI <[email protected]> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
