bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BUG: Unable to find function definition


From: Shigio YAMAGUCHI
Subject: Re: BUG: Unable to find function definition
Date: Wed, 16 Apr 2014 17:47:24 +0900

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 <address@hidden>:
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
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-global




--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]