- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
*** test.cpp ***
#include <random>
int main(int argc, char** argv) {
std::random_device r;
return 0;
}
The above code fail with --std=c++17 on 19.0.4.243 20190416.
shell> icpc -std=c++17 test.cpp -o test
/tmp/icpcnzeTcw.o: In function `main':
test.cpp:(.text+0x39): undefined reference to `__builtin_is_constant_evaluated'
However, it is okay with both c++11 and c++14
shell> icpc -std=c++14 test.cpp -o test
shell> icpc -std=c++11 test.cpp -o test
shell>
I am using RHEL 7.6.
Thanks,
Sunwoo
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
spdlvme080 tmp]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
spdlvme080 tmp]$ cat t.cpp
#include <random>
int main(int argc, char** argv) {
std::random_device r;
return 0;
}
spdlvme080 tmp]$ icpc t.cpp -std=c++17
spdlvme080 tmp]$
Let me see if I can find RHEL7.6 to try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This problem happened whent g++ 9.1 is used as a back-end.
Thanks,
Sunwoo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
icc 19.0 Update 4 is supported up to gcc 8.x.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page