You are not logged in.

#1 2020-04-07 16:32:26

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

[SOLVED] Weird behavior with g++ (v.9.3.0)

Hello everybody!

I've just recently noticed a weird behavior with g++ on my pc. Specifically it's the error output printed whenever I'm compiling a program.

For example when compiling this specific code

#include <string>
#include <iostream>

int main(){
	std::string temp = "hello";
	std::cout << temp << std::endl;
	return 0;
}

and compiling with the following command

 g++ test.cpp 

will produce the following error output

In file included from /usr/include/c++/9.3.0/tr1/cstdarg:32,
                 from /usr/include/c++/9.3.0/tr1/stdarg.h:32,
                 from /usr/include/wchar.h:38,
                 from /usr/include/c++/9.3.0/cwchar:44,
                 from /usr/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/include/c++/9.3.0/string:40,
                 from test.cpp:1:
/usr/include/c++/9.3.0/cstdarg:55:11: error: '::va_list' has not been declared
   55 |   using ::va_list;
      |           ^~~~~~~
In file included from /usr/include/c++/9.3.0/cwchar:44,
                 from /usr/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/include/c++/9.3.0/string:40,
                 from test.cpp:1:
/usr/include/wchar.h:93:38: error: 'size_t' has not been declared
   93 |     const wchar_t *__restrict __src, size_t __n)
      |                                      ^~~~~~
/usr/include/wchar.h:102:38: error: 'size_t' has not been declared
  102 |     const wchar_t *__restrict __src, size_t __n)
      |                                      ^~~~~~
/usr/include/wchar.h:109:63: error: 'size_t' has not been declared
  109 | extern int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n)
      |                                                               ^~~~~~
/usr/include/wchar.h:118:4: error: 'size_t' has not been declared
  118 |    size_t __n) __THROW;
      |    ^~~~~~
/usr/include/wchar.h:126:6: error: 'size_t' has not been declared
  126 |      size_t __n, locale_t __loc) __THROW;
      |      ^~~~~~
/usr/include/wchar.h:135:8: error: 'size_t' does not name a type
  135 | extern size_t wcsxfrm (wchar_t *__restrict __s1,
      |        ^~~~~~
/usr/include/wchar.h:50:1: note: 'size_t' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
   49 | # include <bits/types/locale_t.h>

and then this continue on for another 1055 lines. Now is there any one who knows what could be going on? Should I try to reinstall the gcc package?

Last edited by SyntaxError (2020-04-07 19:21:15)


"Never miss a good chance to shut up"
- Will Rogers

Offline

#2 2020-04-07 16:54:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Please post output in English.

In the meantime, you could check `pacman -Qkk gcc`.

Last edited by Trilby (2020-04-07 16:55:47)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-04-07 16:59:40

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Updated


"Never miss a good chance to shut up"
- Will Rogers

Offline

#4 2020-04-07 17:01:18

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Trilby wrote:

Please post output in English.

In the meantime, you could check `pacman -Qkk gcc`.

Output from pacman -Qkk gcc

 gcc: 2504 total files, 0 altered files 

"Never miss a good chance to shut up"
- Will Rogers

Offline

#5 2020-04-07 17:02:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Thanks, the gcc package is fine.  Please post the outpuf of `env` and `type g++`.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2020-04-07 17:05:22

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Trilby wrote:

Thanks, the gcc package is fine.  Please post the outpuf of `env` and `type g++`.


Output from 'env'

SHELL=/bin/zsh
I3SOCK=/run/user/1000/i3/ipc-socket.517
GRADLE_HOME=/usr/share/java/gradle
GTK_MODULES=canberra-gtk-module
XDG_SEAT=seat0
PWD=/home/oni/Desktop/Laboration_2_Projektstommar/VS Code
LOGNAME=oni
XDG_SESSION_TYPE=tty
XAUTHORITY=/home/oni/.lyxauth
DESKTOP_STARTUP_ID=i3/i3-sensible-terminal/517-3-Hydra_TIME451237HOME=/home/oni
LANG=sv_SE.UTF-8
XDG_SESSION_CLASS=user
TERM=xterm-kitty
USER=oni
DISPLAY=:0
SHLVL=1
XDG_VTNR=2
XDG_SESSION_ID=1
XDG_RUNTIME_DIR=/run/user/1000
PATH=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/oniOLDPWD=/home/oni/Desktop/Laboration_2_Projektstommar/VS Code/Includes
KITTY_WINDOW_ID=1
WINDOWID=25165838
COLORTERM=truecolor
TERMINFO=/usr/lib/kitty/terminfo
ZSH=/home/oni/.oh-my-zsh
PAGER=less
LESS=-R
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
_=/sbin/env

and from 'type g++'

g++ is /sbin/g++

"Never miss a good chance to shut up"
- Will Rogers

Offline

#7 2020-04-07 17:11:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

There it is.  What's /sbin/g++?  That's not from the gcc package.  Did you build your own compiler?

EDIT: oops, that is a symlink provided by the package.  But that should not be the first available g++ in your path ...  Did you add the *sbin paths to your PATH?

ZSH=/home/oni/.oh-my-zsh

That's more likely the problem.  I'm not sure exactly how OMZ could do this, but it's done many other horrific and unimaginable things.  Please try first in a bash shell, then if that works, in a clean zsh session without OMZ.

Last edited by Trilby (2020-04-07 17:15:12)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2020-04-07 17:14:01

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

I did once have a compiler from osdev under the Desktop folder in my home directory. But how do I fix this? Simply remove the g++ under /sbin/?

No not what I can remember..

Last edited by SyntaxError (2020-04-07 17:15:26)


"Never miss a good chance to shut up"
- Will Rogers

Offline

#9 2020-04-07 17:17:19

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Trilby wrote:

There it is.  What's /sbin/g++?  That's not from the gcc package.  Did you build your own compiler?

EDIT: oops, that is a symlink provided by the package.  But that should not be the first available g++ in your path ...  Did you add the *sbin paths to your PATH?

ZSH=/home/oni/.oh-my-zsh

That's more likely the problem.  I'm not sure exactly how OMZ could do this, but it's done many other horrific and unimaginable things.  Please try first in a bash shell, then if that works, in a clean zsh session without OMZ.

Using a bash shell did not work hmm


"Never miss a good chance to shut up"
- Will Rogers

Offline

#10 2020-04-07 17:21:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

I doubt this could make a difference, but if you could humor me once more, start bash with a clean environment and try again from within that bash session:

env -i /bin/bash

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2020-04-07 17:25:08

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Trilby wrote:

I doubt this could make a difference, but if you could humor me once more, start bash with a clean environment and try again from within that bash session:

env -i /bin/bash

Result from the bash shell

g++: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
compilation terminated.

"Never miss a good chance to shut up"
- Will Rogers

Offline

#12 2020-04-07 17:31:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Well ... that was unexpected.  I figured it'd either work, suggesting that OMZ was the problem, or it would fail with similar errors.

In a way it's a related error as gcc isn't finding resources it needs - or, more likely, it is looking in the wrong place for them.  But I'm stumped as to why/how it is having that problem.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2020-04-07 17:36:49

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Welp.. Should I just torch my pc?


"Never miss a good chance to shut up"
- Will Rogers

Offline

#14 2020-04-07 17:38:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

I'd wait for input from others who may have better insights into the internals of gcc.

Or if you had some time to experiment, create a new vanilla user (bahs shell, all default settings), reboot and log in only as that new user and try compiling.  If that works, we'll know it's some configuration that takes place with your current user.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#15 2020-04-07 17:56:48

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Trilby wrote:

I'd wait for input from others who may have better insights into the internals of gcc.

Or if you had some time to experiment, create a new vanilla user (bahs shell, all default settings), reboot and log in only as that new user and try compiling.  If that works, we'll know it's some configuration that takes place with your current user.

Just tried what you suggested but to no avail. It still gives me the exact error message as before..


"Never miss a good chance to shut up"
- Will Rogers

Offline

#16 2020-04-07 18:04:32

bisarch
Member
Registered: 2020-04-07
Posts: 60

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Post the output of

 g++ -E -x c++ - -v < /dev/null 

Last edited by bisarch (2020-04-07 18:10:00)

Offline

#17 2020-04-07 18:10:19

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

bisarch wrote:

Print the output of

 g++ -E -x c++ - -v < /dev/null 

Voila

Using built-in specs.
COLLECT_GCC=g++
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-pkgversion='Arch Linux 9.3.0-1' --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
gcc version 9.3.0 (Arch Linux 9.3.0-1) 
COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/cc1plus -E -quiet -v -D_GNU_SOURCE - -mtune=generic -march=x86-64
ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../include/c++/9.3.0
 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../include/c++/9.3.0/x86_64-pc-linux-gnu
 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../include/c++/9.3.0/backward
 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include
 /usr/local/include
 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include-fixed
 /usr/include
End of search list.
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "<stdin>"
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64'

"Never miss a good chance to shut up"
- Will Rogers

Offline

#18 2020-04-07 18:18:03

bisarch
Member
Registered: 2020-04-07
Posts: 60

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Try removing

#include <string>

and compiling it.

Offline

#19 2020-04-07 18:20:40

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

bisarch wrote:

Try removing

#include <string>

and compiling it.

Did not change anything. And for reference the code in my first post is just an example, the "real" code is must more complex. But it produces the same error.


"Never miss a good chance to shut up"
- Will Rogers

Offline

#20 2020-04-07 18:29:08

bisarch
Member
Registered: 2020-04-07
Posts: 60

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Post the entire output of

g++ -H file.cpp

Offline

#21 2020-04-07 18:37:57

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

bisarch wrote:

Post the entire output of

g++ -H file.cpp

Here you go (this output is from the real file, and not the example in my first post)

. /usr/include/c++/9.3.0/memory.. /usr/include/c++/9.3.0/bits/stl_algobase.h
... /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/c++config.h
.... /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/os_defines.h
..... /usr/include/features.h
...... /usr/include/sys/cdefs.h
....... /usr/include/bits/wordsize.h
....... /usr/include/bits/long-double.h
...... /usr/include/gnu/stubs.h
....... /usr/include/gnu/stubs-64.h
.... /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/cpu_defines.h
... /usr/include/c++/9.3.0/bits/functexcept.h
.... /usr/include/c++/9.3.0/bits/exception_defines.h
... /usr/include/c++/9.3.0/bits/cpp_type_traits.h
... /usr/include/c++/9.3.0/ext/type_traits.h
... /usr/include/c++/9.3.0/ext/numeric_traits.h
... /usr/include/c++/9.3.0/bits/stl_pair.h
.... /usr/include/c++/9.3.0/bits/move.h
..... /usr/include/c++/9.3.0/bits/concept_check.h
..... /usr/include/c++/9.3.0/type_traits
... /usr/include/c++/9.3.0/bits/stl_iterator_base_types.h
... /usr/include/c++/9.3.0/bits/stl_iterator_base_funcs.h
.... /usr/include/c++/9.3.0/debug/assertions.h
... /usr/include/c++/9.3.0/bits/stl_iterator.h
.... /usr/include/c++/9.3.0/bits/ptr_traits.h
... /usr/include/c++/9.3.0/debug/debug.h
... /usr/include/c++/9.3.0/bits/predefined_ops.h
.. /usr/include/c++/9.3.0/bits/allocator.h
... /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/c++allocator.h
.... /usr/include/c++/9.3.0/ext/new_allocator.h
..... /usr/include/c++/9.3.0/new
...... /usr/include/c++/9.3.0/exception
....... /usr/include/c++/9.3.0/bits/exception.h
....... /usr/include/c++/9.3.0/bits/exception_ptr.h
........ /usr/include/c++/9.3.0/bits/cxxabi_init_exception.h
......... /usr/include/stddef.h
........ /usr/include/c++/9.3.0/typeinfo
......... /usr/include/c++/9.3.0/bits/hash_bytes.h
........ /usr/include/c++/9.3.0/new
....... /usr/include/c++/9.3.0/bits/nested_exception.h
... /usr/include/c++/9.3.0/bits/memoryfwd.h
.. /usr/include/c++/9.3.0/bits/stl_construct.h
... /usr/include/c++/9.3.0/ext/alloc_traits.h
.... /usr/include/c++/9.3.0/bits/alloc_traits.h
.. /usr/include/c++/9.3.0/bits/stl_uninitialized.h
.. /usr/include/c++/9.3.0/bits/stl_tempbuf.h
.. /usr/include/c++/9.3.0/bits/stl_raw_storage_iter.h
.. /usr/include/c++/9.3.0/iosfwd
... /usr/include/c++/9.3.0/bits/stringfwd.h
... /usr/include/c++/9.3.0/bits/postypes.h
.... /usr/include/c++/9.3.0/cwchar
..... /usr/include/wchar.h
...... /usr/include/bits/libc-header-start.h
...... /usr/include/bits/floatn.h
....... /usr/include/bits/floatn-common.h
........ /usr/include/bits/long-double.h
...... /usr/include/c++/9.3.0/tr1/stdarg.h
....... /usr/include/c++/9.3.0/tr1/cstdarg
........ /usr/include/c++/9.3.0/cstdarg
......... /usr/include/c++/9.3.0/tr1/stdarg.h
...... /usr/include/bits/wchar.h
...... /usr/include/bits/types/wint_t.h
...... /usr/include/bits/types/mbstate_t.h
....... /usr/include/bits/types/__mbstate_t.h
...... /usr/include/bits/types/__FILE.h
...... /usr/include/bits/types/FILE.h
...... /usr/include/bits/types/locale_t.h
....... /usr/include/bits/types/__locale_t.h
.. /usr/include/c++/9.3.0/ext/atomicity.h
... /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/gthr.h
.... /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/gthr-default.h
..... /usr/include/pthread.h
...... /usr/include/sched.h
....... /usr/include/bits/types.h
........ /usr/include/bits/wordsize.h
........ /usr/include/bits/timesize.h
........ /usr/include/bits/typesizes.h
........ /usr/include/bits/time64.h
....... /usr/include/bits/types/time_t.h
....... /usr/include/bits/types/struct_timespec.h
........ /usr/include/bits/endian.h
......... /usr/include/bits/endianness.h
....... /usr/include/bits/sched.h
........ /usr/include/bits/types/struct_sched_param.h
....... /usr/include/bits/cpu-set.h
...... /usr/include/time.h
....... /usr/include/bits/time.h
........ /usr/include/bits/timex.h
......... /usr/include/bits/types/struct_timeval.h
....... /usr/include/bits/types/clock_t.h
....... /usr/include/bits/types/struct_tm.h
....... /usr/include/bits/types/clockid_t.h
....... /usr/include/bits/types/timer_t.h
....... /usr/include/bits/types/struct_itimerspec.h
...... /usr/include/bits/pthreadtypes.h
....... /usr/include/bits/thread-shared-types.h
........ /usr/include/bits/pthreadtypes-arch.h
......... /usr/include/bits/wordsize.h
........ /usr/include/bits/struct_mutex.h
........ /usr/include/bits/struct_rwlock.h
...... /usr/include/bits/setjmp.h
....... /usr/include/bits/wordsize.h
...... /usr/include/bits/wordsize.h
... /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/atomic_word.h
.. /usr/include/c++/9.3.0/ext/concurrence.h
.. /usr/include/c++/9.3.0/bits/stl_function.h
... /usr/include/c++/9.3.0/backward/binders.h
.. /usr/include/c++/9.3.0/bits/uses_allocator.h
.. /usr/include/c++/9.3.0/bits/unique_ptr.h
... /usr/include/c++/9.3.0/utility
.... /usr/include/c++/9.3.0/bits/stl_relops.h
.... /usr/include/c++/9.3.0/initializer_list
... /usr/include/c++/9.3.0/tuple
.... /usr/include/c++/9.3.0/array
..... /usr/include/c++/9.3.0/stdexcept
...... /usr/include/c++/9.3.0/string
....... /usr/include/c++/9.3.0/bits/char_traits.h
........ /usr/include/c++/9.3.0/cwchar
........ /usr/include/c++/9.3.0/cstdint
......... /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/stdint.h
.......... /usr/include/stdint.h
........... /usr/include/bits/libc-header-start.h
........... /usr/include/bits/wordsize.h
........... /usr/include/bits/stdint-intn.h
........... /usr/include/bits/stdint-uintn.h
....... /usr/include/c++/9.3.0/bits/localefwd.h
........ /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/c++locale.h
......... /usr/include/c++/9.3.0/clocale
.......... /usr/include/locale.h
........... /usr/include/bits/locale.h
........ /usr/include/c++/9.3.0/cctype
......... /usr/include/ctype.h
....... /usr/include/c++/9.3.0/bits/ostream_insert.h
........ /usr/include/c++/9.3.0/bits/cxxabi_forced.h
....... /usr/include/c++/9.3.0/bits/range_access.h
....... /usr/include/c++/9.3.0/bits/basic_string.h
........ /usr/include/c++/9.3.0/ext/string_conversions.h
......... /usr/include/c++/9.3.0/cstdlib
.......... /usr/include/stdlib.h
........... /usr/include/bits/libc-header-start.h
........... /usr/include/bits/waitflags.h
........... /usr/include/bits/waitstatus.h
........... /usr/include/sys/types.h
............ /usr/include/endian.h
............. /usr/include/bits/byteswap.h
............. /usr/include/bits/uintn-identity.h
............ /usr/include/sys/select.h
............. /usr/include/bits/select.h
.............. /usr/include/bits/wordsize.h
............. /usr/include/bits/types/sigset_t.h
.............. /usr/include/bits/types/__sigset_t.h
........... /usr/include/alloca.h
........... /usr/include/bits/stdlib-float.h
.......... /usr/include/c++/9.3.0/bits/std_abs.h
......... /usr/include/c++/9.3.0/cwchar
......... /usr/include/c++/9.3.0/cstdio
.......... /usr/include/stdio.h
........... /usr/include/bits/libc-header-start.h
........... /usr/include/bits/types/__fpos_t.h
........... /usr/include/bits/types/__fpos64_t.h
........... /usr/include/bits/types/struct_FILE.h
........... /usr/include/bits/types/cookie_io_functions_t.h
........... /usr/include/bits/stdio_lim.h
........... /usr/include/bits/sys_errlist.h
......... /usr/include/c++/9.3.0/cerrno
.......... /usr/include/errno.h
........... /usr/include/bits/errno.h
............ /usr/include/linux/errno.h
............. /usr/include/asm/errno.h
.............. /usr/include/asm-generic/errno.h
............... /usr/include/asm-generic/errno-base.h
........... /usr/include/bits/types/error_t.h
........ /usr/include/c++/9.3.0/bits/functional_hash.h
....... /usr/include/c++/9.3.0/bits/basic_string.tcc
.... /usr/include/c++/9.3.0/bits/invoke.h
.. /usr/include/c++/9.3.0/bits/shared_ptr.h
... /usr/include/c++/9.3.0/bits/shared_ptr_base.h
.... /usr/include/c++/9.3.0/bits/allocated_ptr.h
.... /usr/include/c++/9.3.0/bits/refwrap.h
.... /usr/include/c++/9.3.0/ext/aligned_buffer.h
.. /usr/include/c++/9.3.0/bits/shared_ptr_atomic.h
... /usr/include/c++/9.3.0/bits/atomic_base.h
.... /usr/include/c++/9.3.0/bits/atomic_lockfree_defines.h
.. /usr/include/c++/9.3.0/backward/auto_ptr.h
. /usr/include/c++/9.3.0/cstdlib
. /usr/include/c++/9.3.0/vector
.. /usr/include/c++/9.3.0/bits/stl_vector.h
.. /usr/include/c++/9.3.0/bits/stl_bvector.h
.. /usr/include/c++/9.3.0/bits/vector.tcc
. /usr/include/c++/9.3.0/iterator
.. /usr/include/c++/9.3.0/ostream
... /usr/include/c++/9.3.0/ios
.... /usr/include/c++/9.3.0/bits/ios_base.h
..... /usr/include/c++/9.3.0/bits/locale_classes.h
...... /usr/include/c++/9.3.0/bits/locale_classes.tcc
..... /usr/include/c++/9.3.0/system_error
...... /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/error_constants.h
....... /usr/include/c++/9.3.0/cerrno
.... /usr/include/c++/9.3.0/streambuf
..... /usr/include/c++/9.3.0/bits/streambuf.tcc
.... /usr/include/c++/9.3.0/bits/basic_ios.h
..... /usr/include/c++/9.3.0/bits/locale_facets.h
...... /usr/include/c++/9.3.0/cwctype
....... /usr/include/wctype.h
........ /usr/include/bits/wctype-wchar.h
...... /usr/include/c++/9.3.0/cctype
...... /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/ctype_base.h
...... /usr/include/c++/9.3.0/bits/streambuf_iterator.h
...... /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/ctype_inline.h
...... /usr/include/c++/9.3.0/bits/locale_facets.tcc
..... /usr/include/c++/9.3.0/bits/basic_ios.tcc
... /usr/include/c++/9.3.0/bits/ostream.tcc
.. /usr/include/c++/9.3.0/istream
... /usr/include/c++/9.3.0/bits/istream.tcc
.. /usr/include/c++/9.3.0/bits/stream_iterator.h
In file included from /usr/include/c++/9.3.0/tr1/cstdarg:32,
                 from /usr/include/c++/9.3.0/tr1/stdarg.h:32,
                 from /usr/include/wchar.h:38,
                 from /usr/include/c++/9.3.0/cwchar:44,
                 from /usr/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/include/c++/9.3.0/iosfwd:40,
                 from /usr/include/c++/9.3.0/memory:72,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/cstdarg:55:11: error: '::va_list' has not been declared
   55 |   using ::va_list;
      |           ^~~~~~~
In file included from /usr/include/c++/9.3.0/cwchar:44,
                 from /usr/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/include/c++/9.3.0/iosfwd:40,
                 from /usr/include/c++/9.3.0/memory:72,
                 from AVLTree.h:6:
/usr/include/wchar.h:600:9: error: '__gnuc_va_list' has not been declared
  600 |         __gnuc_va_list __arg)
      |         ^~~~~~~~~~~~~~
/usr/include/wchar.h:607:8: error: '__gnuc_va_list' has not been declared
  607 |        __gnuc_va_list __arg)
      |        ^~~~~~~~~~~~~~
/usr/include/wchar.h:613:9: error: '__gnuc_va_list' has not been declared
  613 |         __gnuc_va_list __arg)
      |         ^~~~~~~~~~~~~~
/usr/include/wchar.h:673:8: error: '__gnuc_va_list' has not been declared
  673 |        __gnuc_va_list __arg)
      |        ^~~~~~~~~~~~~~
/usr/include/wchar.h:680:7: error: '__gnuc_va_list' has not been declared
  680 |       __gnuc_va_list __arg)
      |       ^~~~~~~~~~~~~~
/usr/include/wchar.h:685:8: error: '__gnuc_va_list' has not been declared
  685 |        __gnuc_va_list __arg)
      |        ^~~~~~~~~~~~~~
In file included from /usr/include/features.h:465,
                 from /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/c++config.h:524,
                 from /usr/include/c++/9.3.0/bits/stl_algobase.h:59,
                 from /usr/include/c++/9.3.0/memory:62,
                 from AVLTree.h:6:
/usr/include/wchar.h:693:12: error: '__gnuc_va_list' has not been declared
  693 | extern int __REDIRECT (vfwscanf, (__FILE *__restrict __s,
      |            ^~~~~~~~~~
/usr/include/wchar.h:697:12: error: '__gnuc_va_list' has not been declared
  697 | extern int __REDIRECT (vwscanf, (const wchar_t *__restrict __format,
      |            ^~~~~~~~~~
/usr/include/wchar.h:700:12: error: '__gnuc_va_list' has not been declared
  700 | extern int __REDIRECT_NTH (vswscanf, (const wchar_t *__restrict __s,
      |            ^~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/gthr.h:148,
                 from /usr/include/c++/9.3.0/ext/atomicity.h:35,
                 from /usr/include/c++/9.3.0/memory:73,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/gthr-default.h: In function 'int __gthread_create(__gthread_t*, void* (*)(void*), void*)':
/usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/gthr-default.h:663:48: error: 'NULL' was not declared in this scope
  663 |   return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
      |                                                ^~~~
/usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/gthr-default.h:36:1: note: 'NULL' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
   35 | #include <pthread.h>
  +++ |+#include <cstddef>
   36 | 
/usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/gthr-default.h: In function 'void __gthread_mutex_init_function(__gthread_mutex_t*)':
/usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/gthr-default.h:733:44: error: 'NULL' was not declared in this scope
  733 |     __gthrw_(pthread_mutex_init) (__mutex, NULL);
      |                                            ^~~~
/usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/gthr-default.h:733:44: note: 'NULL' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
In file included from /usr/include/c++/9.3.0/cstdio:42,
                 from /usr/include/c++/9.3.0/ext/string_conversions.h:43,
                 from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/stdio.h: At global scope:
/usr/include/stdio.h:52:9: error: '__gnuc_va_list' does not name a type
   52 | typedef __gnuc_va_list va_list;
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdio:42,
                 from /usr/include/c++/9.3.0/ext/string_conversions.h:43,
                 from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/stdio.h:342:8: error: '__gnuc_va_list' has not been declared
  342 |        __gnuc_va_list __arg);
      |        ^~~~~~~~~~~~~~
/usr/include/stdio.h:347:54: error: '__gnuc_va_list' has not been declared
  347 | extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg);
      |                                                      ^~~~~~~~~~~~~~
/usr/include/stdio.h:350:8: error: '__gnuc_va_list' has not been declared
  350 |        __gnuc_va_list __arg) __THROWNL;
      |        ^~~~~~~~~~~~~~
/usr/include/stdio.h:359:42: error: '__gnuc_va_list' has not been declared
  359 |         const char *__restrict __format, __gnuc_va_list __arg)
      |                                          ^~~~~~~~~~~~~~
/usr/include/stdio.h:367:9: error: '__gnuc_va_list' has not been declared
  367 |         __gnuc_va_list __arg)
      |         ^~~~~~~~~~~~~~
/usr/include/stdio.h:380:8: error: '__gnuc_va_list' has not been declared
  380 |        __gnuc_va_list __arg)
      |        ^~~~~~~~~~~~~~
/usr/include/stdio.h:433:7: error: '__gnuc_va_list' has not been declared
  433 |       __gnuc_va_list __arg)
      |       ^~~~~~~~~~~~~~
/usr/include/stdio.h:440:53: error: '__gnuc_va_list' has not been declared
  440 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg)
      |                                                     ^~~~~~~~~~~~~~
/usr/include/stdio.h:445:40: error: '__gnuc_va_list' has not been declared
  445 |       const char *__restrict __format, __gnuc_va_list __arg)
      |                                        ^~~~~~~~~~~~~~
In file included from /usr/include/features.h:465,
                 from /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/c++config.h:524,
                 from /usr/include/c++/9.3.0/bits/stl_algobase.h:59,
                 from /usr/include/c++/9.3.0/memory:62,
                 from AVLTree.h:6:
/usr/include/stdio.h:451:12: error: '__gnuc_va_list' has not been declared
  451 | extern int __REDIRECT (vfscanf,
      |            ^~~~~~~~~~
/usr/include/stdio.h:456:12: error: '__gnuc_va_list' has not been declared
  456 | extern int __REDIRECT (vscanf, (const char *__restrict __format,
      |            ^~~~~~~~~~
/usr/include/stdio.h:459:12: error: '__gnuc_va_list' has not been declared
  459 | extern int __REDIRECT_NTH (vsscanf,
      |            ^~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdio:42,
                 from /usr/include/c++/9.3.0/ext/string_conversions.h:43,
                 from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/stdio.h:831:8: error: '__gnuc_va_list' has not been declared
  831 |        __gnuc_va_list __args)
      |        ^~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6548:20: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, std::size_t, const char*, int) throw (), long unsigned int, const char [3], int&)'
 6548 |         "%d", __val); }
      |                    ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6548:20: note:   mismatched types '__va_list_tag*' and 'int'
 6548 |         "%d", __val); }
      |                    ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(unsigned int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6554:20: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, std::size_t, const char*, int) throw (), long unsigned int, const char [3], unsigned int&)'
 6554 |         "%u", __val); }
      |                    ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6554:20: note:   mismatched types '__va_list_tag*' and 'int'
 6554 |         "%u", __val); }
      |                    ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6559:21: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, std::size_t, const char*, int) throw (), long unsigned int, const char [4], long int&)'
 6559 |         "%ld", __val); }
      |                     ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6559:21: note:   mismatched types '__va_list_tag*' and 'int'
 6559 |         "%ld", __val); }
      |                     ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long unsigned int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6565:21: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, std::size_t, const char*, int) throw (), long unsigned int, const char [4], long unsigned int&)'
 6565 |         "%lu", __val); }
      |                     ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6565:21: note:   mismatched types '__va_list_tag*' and 'int'
 6565 |         "%lu", __val); }
      |                     ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long long int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6571:22: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, std::size_t, const char*, int) throw (), long unsigned int, const char [5], long long int&)'
 6571 |         "%lld", __val); }
      |                      ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6571:22: note:   mismatched types '__va_list_tag*' and 'int'
 6571 |         "%lld", __val); }
      |                      ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long long unsigned int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6577:22: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, std::size_t, const char*, int) throw (), long unsigned int, const char [5], long long unsigned int&)'
 6577 |         "%llu", __val); }
      |                      ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6577:22: note:   mismatched types '__va_list_tag*' and 'int'
 6577 |         "%llu", __val); }
      |                      ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(float)':
/usr/include/c++/9.3.0/bits/basic_string.h:6585:20: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, std::size_t, const char*, int) throw (), const int&, const char [3], float&)'
 6585 |         "%f", __val);
      |                    ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6585:20: note:   mismatched types '__va_list_tag*' and 'int'
 6585 |         "%f", __val);
      |                    ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(double)':
/usr/include/c++/9.3.0/bits/basic_string.h:6594:20: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, std::size_t, const char*, int) throw (), const int&, const char [3], double&)'
 6594 |         "%f", __val);
      |                    ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6594:20: note:   mismatched types '__va_list_tag*' and 'int'
 6594 |         "%f", __val);
      |                    ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long double)':
/usr/include/c++/9.3.0/bits/basic_string.h:6603:21: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, std::size_t, const char*, int) throw (), const int&, const char [4], long double&)'
 6603 |         "%Lf", __val);
      |                     ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6603:21: note:   mismatched types '__va_list_tag*' and 'int'
 6603 |         "%Lf", __val);
      |                     ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6651:22: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, std::size_t, const wchar_t*, int) throw (), long unsigned int, const wchar_t [3], int&)'
 6651 |          L"%d", __val); }
      |                      ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6651:22: note:   mismatched types '__va_list_tag*' and 'int'
 6651 |          L"%d", __val); }
      |                      ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(unsigned int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6657:22: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, std::size_t, const wchar_t*, int) throw (), long unsigned int, const wchar_t [3], unsigned int&)'
 6657 |          L"%u", __val); }
      |                      ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6657:22: note:   mismatched types '__va_list_tag*' and 'int'
 6657 |          L"%u", __val); }
      |                      ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6662:23: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, std::size_t, const wchar_t*, int) throw (), long unsigned int, const wchar_t [4], long int&)'
 6662 |          L"%ld", __val); }
      |                       ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6662:23: note:   mismatched types '__va_list_tag*' and 'int'
 6662 |          L"%ld", __val); }
      |                       ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long unsigned int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6668:23: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, std::size_t, const wchar_t*, int) throw (), long unsigned int, const wchar_t [4], long unsigned int&)'
 6668 |          L"%lu", __val); }
      |                       ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6668:23: note:   mismatched types '__va_list_tag*' and 'int'
 6668 |          L"%lu", __val); }
      |                       ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long long int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6674:24: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, std::size_t, const wchar_t*, int) throw (), long unsigned int, const wchar_t [5], long long int&)'
 6674 |          L"%lld", __val); }
      |                        ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6674:24: note:   mismatched types '__va_list_tag*' and 'int'
 6674 |          L"%lld", __val); }
      |                        ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long long unsigned int)':
/usr/include/c++/9.3.0/bits/basic_string.h:6680:24: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, std::size_t, const wchar_t*, int) throw (), long unsigned int, const wchar_t [5], long long unsigned int&)'
 6680 |          L"%llu", __val); }
      |                        ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6680:24: note:   mismatched types '__va_list_tag*' and 'int'
 6680 |          L"%llu", __val); }
      |                        ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(float)':
/usr/include/c++/9.3.0/bits/basic_string.h:6688:22: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, std::size_t, const wchar_t*, int) throw (), const int&, const wchar_t [3], float&)'
 6688 |          L"%f", __val);
      |                      ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6688:22: note:   mismatched types '__va_list_tag*' and 'int'
 6688 |          L"%f", __val);
      |                      ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(double)':
/usr/include/c++/9.3.0/bits/basic_string.h:6697:22: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, std::size_t, const wchar_t*, int) throw (), const int&, const wchar_t [3], double&)'
 6697 |          L"%f", __val);
      |                      ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6697:22: note:   mismatched types '__va_list_tag*' and 'int'
 6697 |          L"%f", __val);
      |                      ^
/usr/include/c++/9.3.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long double)':
/usr/include/c++/9.3.0/bits/basic_string.h:6706:23: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, std::size_t, const wchar_t*, int) throw (), const int&, const wchar_t [4], long double&)'
 6706 |          L"%Lf", __val);
      |                       ^
In file included from /usr/include/c++/9.3.0/bits/basic_string.h:6493,
                 from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...)'
   99 |     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
      |     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/ext/string_conversions.h:99:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9.3.0/string:55,
                 from /usr/include/c++/9.3.0/stdexcept:39,
                 from /usr/include/c++/9.3.0/array:39,
                 from /usr/include/c++/9.3.0/tuple:39,
                 from /usr/include/c++/9.3.0/bits/unique_ptr.h:37,
                 from /usr/include/c++/9.3.0/memory:80,
                 from AVLTree.h:6:
/usr/include/c++/9.3.0/bits/basic_string.h:6706:23: note:   mismatched types '__va_list_tag*' and 'int'
 6706 |          L"%Lf", __val);
      |                       ^
Multiple include guards may be useful for:
/usr/include/asm/errno.h
/usr/include/bits/byteswap.h
/usr/include/bits/locale.h
/usr/include/bits/select.h
/usr/include/bits/stdlib-float.h
/usr/include/bits/sys_errlist.h
/usr/include/bits/time64.h
/usr/include/bits/timesize.h
/usr/include/bits/typesizes.h
/usr/include/bits/uintn-identity.h
/usr/include/bits/waitflags.h
/usr/include/bits/waitstatus.h
/usr/include/c++/9.3.0/clocale
/usr/include/c++/9.3.0/cstdarg
/usr/include/c++/9.3.0/cstdio
/usr/include/c++/9.3.0/cwctype
/usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/ctype_base.h
/usr/include/c++/9.3.0/x86_64-pc-linux-gnu/bits/ctype_inline.h
/usr/include/gnu/stubs-64.h
/usr/include/gnu/stubs.h
/usr/include/linux/errno.h

"Never miss a good chance to shut up"
- Will Rogers

Offline

#22 2020-04-07 18:39:18

bisarch
Member
Registered: 2020-04-07
Posts: 60

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Post the output of the following

pacman -Q gcc

Offline

#23 2020-04-07 18:43:56

bisarch
Member
Registered: 2020-04-07
Posts: 60

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Try using

/usr/bin/g++

instead of

g++

Offline

#24 2020-04-07 18:45:15

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

bisarch wrote:

Try using

/usr/bin/g++

instead of

g++

No difference


"Never miss a good chance to shut up"
- Will Rogers

Offline

#25 2020-04-07 18:45:48

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

bisarch wrote:

Post the output of the following

pacman -Q gcc

gcc 9.3.0-1


"Never miss a good chance to shut up"
- Will Rogers

Offline

Board footer

Powered by FluxBB