salto_simulator icon indicating copy to clipboard operation
salto_simulator copied to clipboard

The const declarations in "include/cpu.h" need to be extern

Open eschaton opened this issue 9 years ago • 1 comments

In order to be correct and to avoid multiple-definition errors from some linkers, declarations like

const char *task_name[task_COUNT];

actually need to be marked extern as well.

eschaton avatar Jun 24 '16 17:06 eschaton

This really helps to build!

daniilprohorov avatar Aug 15 '21 09:08 daniilprohorov