i am trying to compile /ports/unix version, (downloaded latest master branch version code.).
did as follows,
$ cd mpy-cross (completed with no errors)
$ make (completed with no errors)
$ cd ports/unix (completed with no errors)
$ make submodules (completed with no errors)
$ make (completed with errors)
error snapshot is as follows
tbmnxvmuser@TBMNXVM01:/opt/builds/ESP8266/micropython/ports/unix$ make
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
CC ../../py/vm.c
In file included from ../../py/vm.c:199:0:
../../py/vmentrytable.h: In function ‘mp_execute_bytecode’:
../../py/vmentrytable.h:40:5: error: initialized field overwritten [-Werror=override-init]
[MP_BC_LOAD_CONST_FALSE] = &&entry_MP_BC_LOAD_CONST_FALSE,
^
../../py/vmentrytable.h:40:5: error: (near initialization for ‘entry_table[80]’) [-Werror=override-init]
../../py/vmentrytable.h:41:5: error: initialized field overwritten [-Werror=override-init]
[MP_BC_LOAD_CONST_NONE] = &&entry_MP_BC_LOAD_CONST_NONE,
i am trying to compile /ports/unix version, (downloaded latest master branch version code.). did as follows, $ cd mpy-cross (completed with no errors) $ make (completed with no errors) $ cd ports/unix (completed with no errors) $ make submodules (completed with no errors) $ make (completed with errors)
error snapshot is as follows tbmnxvmuser@TBMNXVM01:/opt/builds/ESP8266/micropython/ports/unix$ make Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. CC ../../py/vm.c In file included from ../../py/vm.c:199:0: ../../py/vmentrytable.h: In function ‘mp_execute_bytecode’: ../../py/vmentrytable.h:40:5: error: initialized field overwritten [-Werror=override-init] [MP_BC_LOAD_CONST_FALSE] = &&entry_MP_BC_LOAD_CONST_FALSE, ^ ../../py/vmentrytable.h:40:5: error: (near initialization for ‘entry_table[80]’) [-Werror=override-init] ../../py/vmentrytable.h:41:5: error: initialized field overwritten [-Werror=override-init] [MP_BC_LOAD_CONST_NONE] = &&entry_MP_BC_LOAD_CONST_NONE,