bug-cflow
[Top][All Lists]
Advanced

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

[bug-cflow] xref Problem


From: LERAY FRANCK
Subject: [bug-cflow] xref Problem
Date: Tue, 15 Jan 2013 18:34:30 +0100

Hi All,

 

First of all, Happy new Year to the cflow Team J

 

I’m facing a problem with this context : when my source declare the a variable in the test1 function, it seems cflow do not detect the test1 declaration. Is it normal ?

Am i doing something wrong ?

 

Thanks in advance.

Franck.

 

Result with unsigned int declaration

int test1(a,b)

                unsigned int a, int b;

{

                return 0;

}

 

int main()

{

                int c,d;

                test1(c,d);

                return 0;

}

 

# /usr/local/bin/cflow --xref toto.c

main * toto.c:8 int main ()

test1   toto.c:11

 

 

Result with int declaration

========

int test1(a,b)

                int a, int b;

{

                return 0;

}

 

int main()

{

                int c,d;

                test1(c,d);

                return 0;

}

# /usr/local/bin/cflow --xref toto.c

main * toto.c:8 int main ()

test1 * toto.c:2 int test1 (a, b)

test1   toto.c:11

#

 

    

 


reply via email to

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