sFuzz icon indicating copy to clipboard operation
sFuzz copied to clipboard

expected unqualified-id before numeric constant

Open tjuwhy opened this issue 4 years ago • 3 comments

when make


/data/sFuzz/liboracle/Common.h:17:15: error: expected unqualified-id before numeric constant
 const uint8_t OVERFLOW = 7;
               ^
/data/sFuzz/liboracle/Common.h:18:15: error: expected unqualified-id before numeric constant
 const uint8_t UNDERFLOW = 8;

tjuwhy avatar Nov 11 '20 03:11 tjuwhy

same issue, do you have any solutions?

cl0udee avatar May 15 '22 07:05 cl0udee

It seems to be a conflict with other constants. So I refactor these two variables to ORACLE_OVERFLOW and ORACLE_UNDERFLOW, then the compilation passed.

tjuwhy avatar May 15 '22 09:05 tjuwhy

It seems to be a conflict with other constants. So I refactor these two variables to ORACLE_OVERFLOW and ORACLE_UNDERFLOW, then the compilation passed.

thanks, i will try it

cl0udee avatar May 15 '22 09:05 cl0udee