EC1010

1 minute readReference

Synopsis

ERROR EC1010: Unknown history mode: "[value]". Valid modes are: 'read', 'create', 'merge'

Description

Electric Make (emake) allows you to control the manner in which the history file will be used by the build:

  • read mode means that emake reads the history file (if present) but does not update it when the build finishes.

  • create mode means that emake reads the history file (if present), but replaces it with a new history file containing only those dependencies discovered during the current build when the build finishes.

  • merge mode means that emake reads the history file (if present), and adds new discovered dependencies from the current build when the build finishes.

You may explicitly choose which of these modes to use with the --emake-history command-line option. By default, emake uses merge mode.

Reasons

An invalid value was specified for the --emake-history command-line option.

Fixes

Correct the value for the --emake-history command-line option, or remove the option from the command-line. Valid values are read, create, and merge.