Code::Blocks Forums

User forums => Help => Topic started by: elie on October 30, 2008, 01:29:44 pm

Title: Go to function problem
Post by: elie on October 30, 2008, 01:29:44 pm
Hi,
I have ported an existing project to CB. In the project some function are declared as pairs of

extern char func1(int a);
extern char func1(int a)
{
    function body
}

(if you ask why... it's because it's a semi auto-generated code). Now I can't go to a function in a file because (I assume) the extern definitions - the parser skips these functions definitions.
Is there a way around this? Can I go to a function even if it's declared as extern?

thanks-
Elie
Title: Re: Go to function problem
Post by: MortenMacFly on October 30, 2008, 05:58:37 pm
extern char func1(int a);
extern char func1(int a)
{
    function body
}
I am currently testing a modification of the CC parser that would support this.
Title: Re: Go to function problem
Post by: elie on November 02, 2008, 09:20:42 am
Thanks.