Skip to content

LightButton compile for Rack 2.4.1 #203

Description

@jackokring

Due to the SDK now having LightButton the following kind of thing occurs.

src/EO1.cpp:436:2: error: reference to ‘LightButton’ is ambiguous
  436 |  LightButton *paramRun;
      |  ^~~~~~~~~~~
In file included from ../../include/rack.hpp:36,
                 from src/SubmarineFree.hpp:1,
                 from src/EO1.cpp:5:
../../include/componentlibrary.hpp:890:8: note: candidates are: ‘template<class TBase, class TLight> struct rack::componentlibrary::LightButton’
  890 | struct LightButton : TBase {
      |        ^~~~~~~~~~~
In file included from src/SubmarineFree.hpp:122,
                 from src/EO1.cpp:5:
src/shared/components.hpp:96:8: note:                 ‘struct LightButton’
   96 | struct LightButton : app::Switch {
      |        ^~~~~~~~~~~

This results in a make error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions