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

Compile Error #6

Open
TippyLion28 opened this issue Oct 10, 2020 · 0 comments
Open

Compile Error #6

TippyLion28 opened this issue Oct 10, 2020 · 0 comments

Comments

@TippyLion28
Copy link

TippyLion28 commented Oct 10, 2020

/home/scott/Downloads/S3SH/source/daisywheel.cpp:169:44: note:   'std::array<std::__cxx11::basic_string<char>, 36>' is not derived from 'const __gnu_cxx::new_allocator<_Tp>'
  169 |             if(keyb->current_key_layout != normal)
      |                                            ^~~~~~
/home/scott/Downloads/S3SH/source/daisywheel.cpp:171:44: error: cannot convert 'std::array<std::__cxx11::basic_string<char>, 36>' to 'int' in assignment
  171 |                 keyb->current_key_layout = normal;
      |                                            ^~~~~~
      |                                            |
      |                                            std::array<std::__cxx11::basic_string<char>, 36>
/home/scott/Downloads/S3SH/source/daisywheel.cpp:172:35: error: cannot convert 'std::array<std::__cxx11::basic_string<char>, 36>' to 'int'
  172 |                 cal_buttons(keyb, normal);
      |                                   ^~~~~~
      |                                   |
      |                                   std::array<std::__cxx11::basic_string<char>, 36>
In file included from /home/scott/Downloads/S3SH/source/daisywheel.cpp:1:
/home/scott/Downloads/S3SH/source/daisywheel.hpp:35:76: note:   initializing argument 2 of 'static void daisywheelkbd::cal_buttons(daisywheelkbd*, int)'
   35 |     static void cal_buttons(daisywheelkbd *kbd,std::array<std::string, 36> str);
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/scott/Downloads/S3SH/source/daisywheel.cpp: At global scope:
/home/scott/Downloads/S3SH/source/daisywheel.cpp:209:13: error: no declaration matches 'std::string daisywheelkbd::get_input()'
  209 | std::string daisywheelkbd::get_input()
      |             ^~~~~~~~~~~~~
/home/scott/Downloads/S3SH/source/daisywheel.cpp:209:13: note: no functions named 'std::string daisywheelkbd::get_input()'
In file included from /home/scott/Downloads/S3SH/source/daisywheel.cpp:1:
/home/scott/Downloads/S3SH/source/daisywheel.hpp:14:7: note: 'class daisywheelkbd' defined here
   14 | class daisywheelkbd
      |       ^~~~~~~~~~~~~
/home/scott/Downloads/S3SH/source/daisywheel.cpp:319:5: error: no declaration matches 'int daisywheelkbd::checkForSpecialInput(std::string, daisywheelkbd*)'
  319 | int daisywheelkbd::checkForSpecialInput(std::string character, daisywheelkbd *keyb)
      |     ^~~~~~~~~~~~~
In file included from /home/scott/Downloads/S3SH/source/daisywheel.cpp:1:
/home/scott/Downloads/S3SH/source/daisywheel.hpp:37:16: note: candidate is: 'static int daisywheelkbd::checkForSpecialInput(int, daisywheelkbd*)'
   37 |     static int checkForSpecialInput(std::string str, daisywheelkbd *kbd);
      |                ^~~~~~~~~~~~~~~~~~~~
In file included from /home/scott/Downloads/S3SH/source/daisywheel.cpp:1:
/home/scott/Downloads/S3SH/source/daisywheel.hpp:14:7: note: 'class daisywheelkbd' defined here
   14 | class daisywheelkbd
      |       ^~~~~~~~~~~~~
make[1]: *** [/opt/devkitpro/devkitARM/base_rules:80: daisywheel.o] Error 1
make: *** [Makefile:165: all] Error 2
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

No branches or pull requests

1 participant