You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from /home/marxin/Programming/mold/elf/gdb-index.cc:59,
from /home/marxin/Programming/mold/build2/elf/gdb-index.cc.X86_64.cc:3:
/home/marxin/Programming/mold/elf/../common/common.h: In instantiation of ‘mold::Atomic<T>::Atomic(const mold::Atomic<T>&) [with T = unsigned int]’:
/home/marxin/Programming/mold/elf/gdb-index.cc:142:8: required from ‘std::pair<T*, bool> mold::ConcurrentMap<T>::insert(std::string_view, mold::u64, const T&) [with T = mold::elf::MapValue; std::string_view = std::basic_string_view<char>; mold::u64 = long unsigned int]’
/home/marxin/Programming/mold/elf/gdb-index.cc:686:43: required from ‘void mold::elf::write_gdb_index(Context<E>&) [with E = X86_64]’
/home/marxin/Programming/mold/elf/gdb-index.cc:791:43: required from here
/home/marxin/Programming/mold/elf/../common/common.h:219:3: warning: base class ‘struct std::atomic<unsigned int>’ should be explicitly initialized in the copy constructor [-Wextra]
219 | Atomic(const Atomic<T> &other) { store(other.load()); }
| ^~~~~~
In file included from /home/marxin/Programming/mold/elf/mold.h:4,
from /home/marxin/Programming/mold/elf/gdb-index.cc:59,
from /home/marxin/Programming/mold/build2/elf/gdb-index.cc.I386.cc:3:
The text was updated successfully, but these errors were encountered:
One more warning I noticed:
The text was updated successfully, but these errors were encountered: