--On December 20, 2012 5:00:56 PM +0100 Geert Janssens <janssens-ge...@telenet.be> wrote:

This may be a side effect of my efforts to make GnuCash build and run
with guile 2. I'm not sure why I didn't get these warnings on my
system.

Anyway, just to test, can you alter src/base-typemaps.i as follows:
on line 19, there is
%typemap (out) char * {

Can you just below this line insert this:
   $result = SCM_UNSPECIFIED;

And then compile again ?

I'll have to admit that I got this error too and didn't fix or report it. I just turned off the warning so I could finish what else I was doing and then forgot about it.

The error is probably dependent on exactly what compiler you are using since it depends on the flow analysis done during optimization. In my case I was using gcc 4.6.3 when I got the error.

I tried the fix you suggest above and it seems to solve, or at least avoid, the problem.

         Mike

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to