- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting a lot of messages like this during compilation:
C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\pstl\include\pstl/execution:96: [Parallel STL message]: "The <Parallel STL> execution policies are defined in the namespace pstl::execution"
How can I suppress these as hundreds are appearing?
It doesn't seem to be susceptible to /Qdiag-disable:96 as a compiler option.
I am using Intel Parallel Studio XE 2018 Update 3 in VS 2017.
Thanks
- 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
Can you try /W0 to see if it works?
Thanks,
Viet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Viet, but it doesn't stop them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I searched the installation directories for the text and edited the execution file in
C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\pstl\include\pstl
This contained the lines:
#if __PSTL_CPP17_EXECUTION_POLICIES_PRESENT __PSTL_PRAGMA_MESSAGE_POLICIES("The <Parallel STL> execution policies are defined in the namespace pstl::execution") #else
so I commented out the second line and the madness has stopped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would ask or report this to the TBB forum instead of the compiler forum since the error is coming from the library.
https://software.intel.com/en-us/forums/intel-threading-building-blocks/
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Judy,
I would not have guessed that this ISO/IEC TS 19570:2015 implementation counted as part of TBB.
It seems like a standard C++ extension to me, and therefore a compiler issue, but Intel's byzantine inner workings are beyond me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would ask or report this to the TBB forum instead of the compiler forum since the error is coming from the library.
https://software.intel.com/en-us/forums/intel-threading-building-blocks/
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Roger567 wrote:
I would not have guessed that this ISO/IEC TS 19570:2015 implementation counted as part of TBB.
It seems like a standard C++ extension to me, and therefore a compiler issue, but Intel's byzantine inner workings are beyond me.
You can find information about Intel implementation of Parallel STL at https://software.intel.com/en-us/get-started-with-pstl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Roger,
1) Yes, right now you can re-define the macro __PSTL_PRAGMA_MESSAGE_POLICIES(x) in "nothing" in the file ...include\pstl\internal\pstl_config.h
2) In coming version there is a user control macro "PSTL_USAGE_WARNINGS", it is zero by default. So, the all messages that you mentioned are suppressed.

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