- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When compiling the following code on Intel DevCloud with icpx, it looks like the C++ 20 <numbers> header is missing even with std is specified to use 20.
#include <iostream>
#include <numbers>
using namespace std;
int main() {
cout << "Hello World." << endl;
return 0;
}
icpx -std=gnu++20 test.cpp -o test
test.cpp:2:10: fatal error: 'numbers' file not found
#include <numbers>
^~~~~~~~~
1 error generated.
$ icpx --version
Intel(R) oneAPI DPC++/C++ Compiler 2022.1.0 (2022.1.0.20220316)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /glob/development-tools/versions/oneapi/2022.2/oneapi/compiler/2022.1.0/linux/bin-llvm
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting on Intel communities.
When compiling the following code on Intel DevCloud with icpx, it looks like the C++ 20 <numbers> header is missing even with std is specified to use 20.
>> We regret to inform you that the Intel® oneAPI C++ Compiler doesn't conform to the C++20 standard as of now. The Intel® oneAPI C++ Compiler conforms to the following standards,
C++17 standard (ISO/IEC 14882:2017)
C++14 standard (ISO/IEC 14882:2014)
C++11 standard (ISO/IEC 14882:2011)
C++98 standard (ISO/IEC 14882:1998)
For more details regarding the conformance wrt. C and SYCL standards, please refer to the below link.
Best Regards,
Shanmukh.SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
A gentle reminder:
As we haven't heard back from you for a while, could you please let us know if there is any update regarding the issue?
Regards,
Shanmukh.SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Best Regards,
Shanmukh.SS

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page