Skip to content

Compilation of micropython failing on Mac OSX #2540

@tsupplis

Description

@tsupplis

Build from master branch 5.0.beta3

Building micro python (make in ports/unix) fails with:
Use make V=1, make V=2 or set BUILD_VERBOSE similarly in your environment to increase build verbosity.

In file included from ../../py/emitnx64.c:13:
../../py/emitnative.c:467:32: error: pragma diagnostic pop could not pop, no matching push [-Werror,-Wunknown-pragmas]
        #pragma GCC diagnostic pop

Suggested fix on line 462 of

        #pragma GCC diagnostic push
        #pragma GCC diagnostic ignored "-Wcast-align"
        mp_emit_glue_assign_native(emit->scope->raw_code,
            emit->do_viper_types ? MP_CODE_NATIVE_VIPER : MP_CODE_NATIVE_PY,

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions