Skip to content

JAM indexing errors prevents compilation #185

@kiranshila

Description

@kiranshila

As far as I (and the C compiler) can tell, the constant CORE_INFO is a single byte in some but not all cases:

extern const uint8_t _core_info;
#define CORE_INFO (&_core_info)

So in lines such as

state->ptr = (void *)(CORE_INFO - 2);

and

extern const uint8_t _core_info;
#define CORE_INFO (&_core_info)

if(!CORE_INFO[0] || !CORE_INFO[1]) {

if(!CORE_INFO[0] || !CORE_INFO[1]) {

yield compiler errors that prevent the JAM software from building

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions