- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Firstly, Let me explain briefly the environment :
- Windows x64 Platform - Windows 10 1803 (build 17134.81)
- Windows Linux Subsystem - Ubuntu 18.04 (via Windows Store)
- GCC version installed on WSL - GCC 8.0
- Clang version installed on WSL - Clang 6.0
- Intel Parallel Studio Version - Intel Parallel Studio XE 2018 update 2
I tried to compile and run simple dummy C++ program with std::thread and under C++17 standard flag. The code example is given below:
#include<iostream> #include<vector> #include<thread> void foo() { std::cout<<"OKAY"<<std::endl; } int main() { std::vector<int> x={1,2,3}; auto y = x.capacity(); std::thread t(foo); t.join(); std::cout<<y<<std::endl; return 0; }
the following images shows relevant information:
Errors occurred:
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are using a version of our compiler which does not support GCC 8.x in particular it does not have the new __integer_pack builtin implemented.
Please update to 18.0 update 3.
Judy

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