WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

Bogus error message & cflow does not produce output

View: New views
2 Messages — Rating Filter:   Alert me  

Bogus error message & cflow does not produce output

by jumbledletterstofoolname :: Rate this Message:

| View Threaded | Show Only this Message

I got a mess of these:

cflow:jbodlogs.c:569: pr_start_time/-1 redefined
cflow:jbodlogs.c:450: this is the place of previous definition

It is complaining because static-local variables of the same
name are defined in multiple procedures.  Do you have a mechanism
for saving information by an alias-name and aliasing these with
some prefix like __FUNCTION__:: ??


It had similar problems with inline stuff:

inline static int
pr_tableids_equal(pr_tableid *t1, pr_tableid *t2)
{
    return ((t1->nid == t2->nid) && (t1->incn == t2->incn) &&
        (t1->id == t2->id));
}

I am guessing that these problems suppressed any output.  :(

Also, a minor complaint about initialization:  the order of
environment variables before config files is wrong.  Since
environment variables are easier to manipulate, they should
take precedence over config files.  There should also be a
more obvious way to suppress config file loading than
  export CFLOWRC=/dev/null

Thanks -Bruce



_______________________________________________
Bug-cflow mailing list
Bug-cflow@...
http://lists.gnu.org/mailman/listinfo/bug-cflow

Re: Bogus error message & cflow does not produce output

by Sergey Poznyakoff :: Rate this Message:

| View Threaded | Show Only this Message

Hi Bruce,

> cflow:jbodlogs.c:569: pr_start_time/-1 redefined
> cflow:jbodlogs.c:450: this is the place of previous definition

Have you tried preprocessing your input files? (command line option --cpp
or -I, see also
http://www.gnu.org/software/cflow/manual/html_node/Preprocessing.html#Preprocessing)

Regards,
Sergey


_______________________________________________
Bug-cflow mailing list
Bug-cflow@...
http://lists.gnu.org/mailman/listinfo/bug-cflow