Hello Martin, and all.

First, thanks Martin for creating and continuing to improve.  Thanks to all 
the users and contributors.  Greatly appreciated.

After a bit of a hiatus I am starting to upgrade as I am a bit behind.  My 
main use system is a Mac Mini running Mojave or High Sierra (can't upgrade, 
too old, stupid Apple).  I have a Macbook Pro running Catalina, but haven't 
installed Beancount to that.  

Trying to install on two CentOS systems, one mine and one at work.  Both 
running Centos 7.8 and recently updated.  One has Python 8.1, one has 
Python 8.2.  Both are incurring this error:
    beancount/parser/parser.c: In function ‘strtonl’:
    beancount/parser/parser.c:53:5: error: ‘for’ loop initial declarations 
are only allowed in C99 mode
         for (size_t i = 0; i < len; ++i) {
         ^
    beancount/parser/parser.c:53:5: note: use option -std=c99 or -std=gnu99 
to compile your code
    error: command 'gcc' failed with exit status 1

>From the error and some web searching it looks like -std=c99 or -std=gnu99 
needs to be added to the makefile, or I need to set it somewhere in my gcc 
options.  In the makefile it would prevent others from having this issue.

Regards,

Jonathan

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/88c3f2f8-33cf-4d86-b4fd-cb6f3c8724fdn%40googlegroups.com.

Reply via email to