Sublime Forum

Khi tôi dùng vector và string thì sublime text của tôi hiện lỗi này,có thể giải thích giúp tôi được không

#1

In file included from C:/msys64/mingw64/include/c++/13.1.0/string:43,
from C:/msys64/mingw64/include/c++/13.1.0/bitset:52,
from C:/msys64/mingw64/include/c++/13.1.0/x86_64-w64-mingw32/bits/stdc++.h:52,
from C:\Users\Admin\OneDrive\Máy tính\Sublimetest\test.cpp:3:
C:/msys64/mingw64/include/c++/13.1.0/bits/allocator.h: In destructor ‘std::_Vector_base<int, std::allocator >::_Vector_impl::~_Vector_impl()’:
C:/msys64/mingw64/include/c++/13.1.0/bits/allocator.h:184:7: error: inlining failed in call to ‘always_inline’ ‘std::allocator< >::~allocator() noexcept [with _Tp = int]’: target specific option mismatch
184 | ~allocator() _GLIBCXX_NOTHROW { }
| ^
In file included from C:/msys64/mingw64/include/c++/13.1.0/vector:66,
from C:/msys64/mingw64/include/c++/13.1.0/functional:64,
from C:/msys64/mingw64/include/c++/13.1.0/x86_64-w64-mingw32/bits/stdc++.h:53:
C:/msys64/mingw64/include/c++/13.1.0/bits/stl_vector.h:133:14: note: called from here
133 | struct _Vector_impl
| ^~~~~~~~~~~~

0 Likes

#2

You should provide details of the error, or record a video of your screen when you encounter it.

0 Likes