-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Clang version:
Debian clang version 19.1.4 (1~deb12u1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-19/bin
CMake output:
42sh$ CXX="$(which clang++-19)" cmake -B build
-- The CXX compiler identification is Clang 19.1.4
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++-19 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/g704120/cxx_tuncfest/samples/simple/build
Make output
42sh$ make -C build/
make: Entering directory '/home/g704120/cxx_tuncfest/samples/simple/build'
make[1]: Entering directory '/home/g704120/cxx_tuncfest/samples/simple/build'
make[2]: Entering directory '/home/g704120/cxx_tuncfest/samples/simple/build'
make[2]: Leaving directory '/home/g704120/cxx_tuncfest/samples/simple/build'
make[2]: Entering directory '/home/g704120/cxx_tuncfest/samples/simple/build'
[ 50%] Building CXX object CMakeFiles/main.dir/main.cc.o
In file included from /home/g704120/cxx_tuncfest/samples/simple/main.cc:1:
/home/g704120/cxx_tuncfest/samples/simple/build/_deps/tuncfest-src/tuncfest/tuncfest.hh:257:28: error: variable has incomplete type 'struct winsize'
257 | struct winsize w;
| ^
/home/g704120/cxx_tuncfest/samples/simple/build/_deps/tuncfest-src/tuncfest/tuncfest.hh:257:20: note: forward declaration of 'winsize'
257 | struct winsize w;
| ^
/home/g704120/cxx_tuncfest/samples/simple/build/_deps/tuncfest-src/tuncfest/tuncfest.hh:258:34: error: use of undeclared identifier 'TIOCGWINSZ'
258 | ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
| ^
/home/g704120/cxx_tuncfest/samples/simple/build/_deps/tuncfest-src/tuncfest/tuncfest.hh:265:17: error: implicit instantiation of undefined template 'std::tuple<unsigned char, unsigned char, unsigned char>'
265 | start_color = { 227, 52, 0 },
| ^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_pair.h:90:11: note: template is declared here
90 | class tuple;
| ^
/home/g704120/cxx_tuncfest/samples/simple/build/_deps/tuncfest-src/tuncfest/tuncfest.hh:265:17: note: passing argument to parameter 'start_color' here
265 | start_color = { 227, 52, 0 },
| ^
/home/g704120/cxx_tuncfest/samples/simple/build/_deps/tuncfest-src/tuncfest/tuncfest.hh:267:17: error: implicit instantiation of undefined template 'std::tuple<unsigned char, unsigned char, unsigned char>'
267 | end_color = { 92, 204, 150 })
| ^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_pair.h:90:11: note: template is declared here
90 | class tuple;
| ^
/home/g704120/cxx_tuncfest/samples/simple/build/_deps/tuncfest-src/tuncfest/tuncfest.hh:267:17: note: passing argument to parameter 'end_color' here
267 | end_color = { 92, 204, 150 })
| ^
4 errors generated.
make[2]: *** [CMakeFiles/main.dir/build.make:76: CMakeFiles/main.dir/main.cc.o] Error 1
make[2]: Leaving directory '/home/g704120/cxx_tuncfest/samples/simple/build'
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/main.dir/all] Error 2
make[1]: Leaving directory '/home/g704120/cxx_tuncfest/samples/simple/build'
make: *** [Makefile:91: all] Error 2
make: Leaving directory '/home/g704120/cxx_tuncfest/samples/simple/build'
Metadata
Metadata
Assignees
Labels
No labels