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

build failure on mint #1632

Open
wwiv opened this issue Oct 16, 2024 · 1 comment
Open

build failure on mint #1632

wwiv opened this issue Oct 16, 2024 · 1 comment

Comments

@wwiv
Copy link
Contributor

wwiv commented Oct 16, 2024

/home/git/wwiv/common/input.cpp:495:16: warning: enumeration value PHONE not
handled in switch [-Wswitch][323/525] Building CXX object
sdk/CMakeFiles/sdk.dir/ansi/makeansi.cpp.oFAILED:
sdk/CMakeFiles/sdk.dir/ansi/makeansi.cpp.o /usr/bin/c++ -DFMT_HEADER_ONLY=1
-D_DEBUG -I/home/git/wwiv -isystem
/home/git/wwiv/_build/vcpkg_installed/x64-linux/include -g -std=gnu++17 -Wall
-Wextra -MD -MT sdk/CMakeFiles/sdk.dir/ansi/makeansi.cpp.o -MF
sdk/CMakeFiles/sdk.dir/ansi/makeansi.cpp.o.d -o
sdk/CMakeFiles/sdk.dir/ansi/makeansi.cpp.o -c
/home/git/wwiv/sdk/ansi/makeansi.cpp/home/git/wwiv/sdk/ansi/makean si.cpp: In
function std::string wwiv::sdk::ansi::makeansi(int,
int):/home/git/wwiv/sdk/ansi/makeansi.cpp:36:16: error: uint8_t does not name a
type 36 | static const uint8_t ansi_color_map[] = {'0', '4', '2', '6', '1',
'5', '3', '7'}; |
^~~~~~~/home/git/wwiv/sdk/ansi/makeansi.cpp:22:1: note: uint8_t is defined in
header ; did you forget to #include ? 21 | #include
+++ |+#include 22
/home/git/wwiv/sdk/ansi/makeansi.cpp:46:22: error: ansi_color_map was not
declared in this scope 46 | addto(&out, 30 + ansi_color_map[attr & 0x07]

  • '0'); |
    ^~~~~~~~~~~~~~/home/git/wwiv/sdk/ansi/makeansi.cpp:51:22: error: ansi_color_map
    was not declared in this scope 51 | addto(&out, 30 + ansi_color_map[attr
    & 0x07] - '0'); |
    ^~~~~~~~~~~~~~/home/git/wwiv/sdk/ansi/makeansi.cpp:54:22: error: ansi_color_map
    was not declared in this scope 54 | addto(&out, 40 + ansi_color_map[(attr
    & 0x70) >> 4] - '0'); | ^~~~~~~~~~~~~~[340/525]
    Building CXX object sdk/CMakeFiles/sdk.dir/subxtr.cpp.oninja: build stopped:
    subcommand failed
@ericpareja
Copy link
Contributor

Did commit 5d9bef3 fix this?

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

2 participants