ccomparini / fpl2cc

fpl parser generator language

Home Page:https://ccomparini.github.io/fpl2cc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"read of non-const variable 'filesize' is not allowed in a constant expression"

ccomparini opened this issue · comments

When using fpl2cc outside its own source tree, I seem to get:

src/util/utf8_buffer.h:59:19: note: read of non-const variable 'filesize' is not allowed in a constant expression
src/util/utf8_buffer.h:56:12: note: declared here
56 | size_t filesize = in.tellg();

e8903b9 I believe fixes this