This simple program does not compile in my local setup

Правка en4, от aryanc403, 2023-07-15 10:41:01
#pragma GCC target ("sse4")
#include <bits/stdc++.h>

int main(void) {
    std::set<int> s;
    return 0;
}

It fails to compile with error
In file included from /usr/include/c++/13.1.1/string:43, from /usr/include/c++/13.1.1/bitset:52, from /usr/include/c++/13.1.1/x86_64-pc-linux-gnu/bits/stdc++.h:52, from a.cpp:2: /usr/include/c++/13.1.1/bits/allocator.h: In destructor ‘std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_Rb_tree_impl<std::less<int>, true>::~_Rb_tree_impl()’: /usr/include/c++/13.1.1/bits/allocator.h:184:7: error: inlining failed in call to ‘always_inline’ ‘std::allocator< <template-parameter-1-1> >::~allocator() noexcept [with _Tp = std::_Rb_tree_node<int>]’: target specific option mismatch 184 | ~allocator() _GLIBCXX_NOTHROW { } | ^ In file included from /usr/include/c++/13.1.1/map:62, from /usr/include/c++/13.1.1/x86_64-pc-linux-gnu/bits/stdc++.h:152: /usr/include/c++/13.1.1/bits/stl_tree.h:662:16: note: called from here 662 | struct _Rb_tree_impl

When where and how to report it?

Теги never, update, arch

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en8 Английский aryanc403 2023-07-15 16:39:09 3
en7 Английский aryanc403 2023-07-15 16:38:44 77
en6 Английский aryanc403 2023-07-15 11:00:31 9 Tiny change: 'NE_JUDGE -DLOCAL5 -O2 -std=' -> 'NE_JUDGE -O2 -std='
en5 Английский aryanc403 2023-07-15 10:59:58 384
en4 Английский aryanc403 2023-07-15 10:41:01 0 (published)
en3 Английский aryanc403 2023-07-15 10:36:19 0 (saved to drafts)
en2 Английский aryanc403 2023-07-15 10:30:47 166
en1 Английский aryanc403 2023-07-15 10:29:20 1244 Initial revision (published)