Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: build on windows and mac #53

Closed
wants to merge 1 commit into from

Conversation

NikolaDucak
Copy link
Owner

No description provided.

@NikolaDucak NikolaDucak force-pushed the ci/build-on-windows-and-mac branch 8 times, most recently from 3d0a6bf to d945e4f Compare May 25, 2024 14:24
Copy link

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-format reports: 1 file(s) not formatted
  • source/view/annual_view.cpp
clang-tidy reports: 2 concern(s)
  • source/view/annual_view.cpp:69:31: error: [clang-diagnostic-error]

    no matching function for call to 'CatchEvent'

       69 |     const auto eventHandler = CatchEvent(wholeUiRenderer, [&](const Event &event) {
          |                               ^~~~~~~~~~
    /home/runner/work/caps-log/caps-log/build/_deps/ftxui-src/include/ftxui/component/component.hpp:112:11: note: candidate function not viable: no known conversion from '(lambda at /home/runner/work/caps-log/caps-log/source/view/annual_view.cpp:69:59)' to 'std::function<bool (Event)>' for 2nd argument
      112 | Component CatchEvent(Component child, std::function<bool(Event)>);
          |           ^                           ~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/runner/work/caps-log/caps-log/build/_deps/ftxui-src/include/ftxui/component/component.hpp:113:20: note: candidate function not viable: requires single argument 'on_event', but 2 arguments were provided
      113 | ComponentDecorator CatchEvent(std::function<bool(Event)> on_event);
          |                    ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • source/view/annual_view.cpp:74:9: error: [clang-diagnostic-error]

    expected unqualified-id

       74 |         if (not event.is_mouse()) {
          |         ^

Have any feedback or feature suggestions? Share it here.

@NikolaDucak NikolaDucak deleted the ci/build-on-windows-and-mac branch May 26, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant