Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
70 Views

Intel Parallel Studio XE 2020 update 2 macOS Catalina 10.15.6

The reported issue XE-2020-update-1-macOS has not been resolved in the new update, yet another issue is happening.

Compiling the code,

#include <iostream>
#include <vector>
int main()
{
	std::vector<int> a(10, 0);
}

on macOS Catalina 10.15.6 with Intel Parallel Studio XE 2020 update 2 `C++` compiler fails with the below error messages,

In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm(640),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string(57),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/string_view(175),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/string(504),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/__locale(14),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/ios(215),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/iostream(37),
                 from vector.cpp(1):
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits(903): error: function call is not allowed in a constant expression
      __is_function(_Tp)
      ^

In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm(640),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string(57),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/string_view(175),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/string(504),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/__locale(14),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/ios(215),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/iostream(37),
                 from vector.cpp(1):
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits(903): error: type name is not allowed
      __is_function(_Tp)
                    ^

In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm(640),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string(57),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/string_view(175),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/string(504),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/__locale(14),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/ios(215),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/iostream(37),
                 from vector.cpp(1):
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits(2808): error: __libcpp_is_constructible is not a template
      : public __libcpp_is_constructible<_Tp, _Args...>::type {};
               ^

In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm(640),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string(57),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/string_view(175),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/string(504),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/__locale(14),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/ios(215),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/iostream(37),
                 from vector.cpp(1):
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits(2808): error: not a class or struct name
      : public __libcpp_is_constructible<_Tp, _Args...>::type {};
               ^

In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm(640),
                 from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string(57),

 

The full error message is in the attached file. Is there any idea or hint on this issue?

0 Kudos
3 Replies
Highlighted
Novice
47 Views

Re: Intel Parallel Studio XE 2020 update 2 macOS Catalina 10.15.6

The only solution I found to this issue is to downgrade my mac command-line tools to version 11.5,

Command Line Tools for Xcode 11.5

Any other of the 12 version releases will break.

0 Kudos
Highlighted
Moderator
25 Views

Re:Intel Parallel Studio XE 2020 update 2 macOS Ca...

Hi,


Thank you for reporting this issue, we are forwarding this issue to the concerned team.


Warm Regards,

Abhishek


0 Kudos
Highlighted
Moderator
9 Views

Re:Intel Parallel Studio XE 2020 update 2 macOS Ca...

It's not recommended to use OS or Xcode versions that released after the compiler released built date because those versions couldn't be validated by the compiler at that time.


0 Kudos