Re: Compilation Error: app_procs.c



After grabbing the Dia module fresh from CVS, I was unable to compile
the code due to errors in apps/app_procs.c:

Only a small typo, fix just commited to cvs ...

I am still encountering related errors:
app_procs.c: In function `do_convert':
app_procs.c:246: warning: passing arg 4 of pointer to function discards 
qualifiers from pointer target type
app_procs.c: In function `app_init':
app_procs.c:489: error: `poptCtx' undeclared (first use in this function)
app_procs.c:489: error: (Each undeclared identifier is reported only once
app_procs.c:489: error: for each function it appears in.)
app_procs.c:533: warning: passing arg 1 of `set_message_func' from 
incompatible pointer type
app_procs.c: In function `app_exit':
app_procs.c:678: warning: too many arguments for format

From a brief look at the source code, I suspect that on line 489 poptCtx
ought to be "context" instead. I went ahead and tried that out and it
appears to compile.




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