Skip to content

Build errors after updating to the latest version of QMK #59

@jaeryongim

Description

@jaeryongim

I pulled the latest version of the master from qmk today and then builds are not working anymore.

error messages====================================================================

Ψ Compiling keymap with gmake -r -R -f builddefs/build_keyboard.mk -s KEYBOARD=totem KEYMAP=default KEYBOARD_FILESAFE=totem TARGET=totem_default VERBOSE=false COLOR=true SILENT=false QMK_BIN="qmk"

arm-none-eabi-gcc (Homebrew ARM GCC 8.5.0_2) 8.5.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiling: quantum/keymap_introspection.c In file included from quantum/keymap_introspection.c:9:
./keyboards/totem/keymaps/default/keymap.c: In function 'process_record_user':
./keyboards/totem/keymaps/default/keymap.c:104:53: error: passing argument 1 of 'eeconfig_update_keymap' makes pointer from integer without a cast [-Werror=int-conversion]
eeconfig_update_keymap(keymap_config.raw);

In file included from quantum/keycode_config.h:21,
from quantum/quantum.h:41,
from ./.build/obj_totem_default/src/default_keyboard.h:28,
from ./keyboards/totem/keymaps/default/keymap.c:1,
from quantum/keymap_introspection.c:9:
quantum/eeconfig.h:75:77: note: expected 'const keymap_config_t *' {aka 'const union keymap_config_t *'} but argument is of type 'uint16_t' {aka 'short unsigned int'}
void eeconfig_update_keymap(const keymap_config_t *keymap_config) attribute((nonnull));
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
cc1: all warnings being treated as errors
[ERRORS]

========================================================================== 

qmk version
latest

Operating System
mac os (sillicon)

  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions