You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to compile the capstone engine with OW,
but that fails with many lines of:
Error! E1163: Invalid octal constant
The affected code locations are not octal constants, but lists of values in typedef enum
and the values are binary constants.
Examples
ARM_T = 0b1000
PPC_BO_TEST_CR = 0b10000
binary constants / binary literals with the binary prefix "0b" or "0B" are in the standards:
For C23, the requirement is listed in section 6.4.4.1 Integer Constants
For C++14, the requirement is listed in section 2.13.2 Integer literals [lex.icon]
The text was updated successfully, but these errors were encountered:
jmalak
changed the title
Support for constants with binary prefix 0b or 0B is missing
Support for C23/C++14 constants with binary prefix 0b or 0B
Mar 14, 2024
I tried to compile the capstone engine with OW,
but that fails with many lines of:
The affected code locations are not octal constants, but lists of values in
typedef enum
and the values are binary constants.
Examples
binary constants / binary literals with the binary prefix "0b" or "0B" are in the standards:
For C23, the requirement is listed in section 6.4.4.1 Integer Constants
For C++14, the requirement is listed in section 2.13.2 Integer literals [lex.icon]
The text was updated successfully, but these errors were encountered: