Opened 10 years ago

Closed 9 years ago

#7318 closed Bugs (fixed)

Warnings "unimplemented pragma ignored" with Intel C++ Compiler XE 12.1.5.344

Reported by: abrarov@… Owned by: Peter Dimov
Milestone: To Be Determined Component: smart_ptr
Version: Boost 1.51.0 Severity: Cosmetic
Keywords: Intel Cc:

Description

There are many warnings "unimplemented pragma ignored" with Intel C++ Compiler XE 12.1.5.344 Build 20120612 at Windows (Windows 7 SP1 Pro) during building of Boost 1.51.0 itself and during building programs using Boost:

1>..\..\..\..\boost_1_51_0\boost/exception/exception.hpp(258): warning #367: duplicate friend declaration
1>            friend struct exception_detail::get_info<throw_function>;
1>            ^
1>  
1>..\..\..\..\boost_1_51_0\boost/exception/exception.hpp(259): warning #367: duplicate friend declaration
1>            friend struct exception_detail::get_info<throw_file>;
1>            ^
1>  
1>..\..\..\..\boost_1_51_0\boost/exception/exception.hpp(260): warning #367: duplicate friend declaration
1>            friend struct exception_detail::get_info<throw_line>;
1>            ^
1>  
1>..\..\..\..\boost_1_51_0\boost/detail/interlocked.hpp(79): warning #1879: unimplemented pragma ignored
1>    # pragma intrinsic( _InterlockedIncrement )
1>             ^
1>  
1>..\..\..\..\boost_1_51_0\boost/detail/interlocked.hpp(80): warning #1879: unimplemented pragma ignored
1>    # pragma intrinsic( _InterlockedDecrement )
1>             ^
1>  
1>..\..\..\..\boost_1_51_0\boost/detail/interlocked.hpp(81): warning #1879: unimplemented pragma ignored
1>    # pragma intrinsic( _InterlockedCompareExchange )
1>             ^
1>  
1>..\..\..\..\boost_1_51_0\boost/detail/interlocked.hpp(82): warning #1879: unimplemented pragma ignored
1>    # pragma intrinsic( _InterlockedExchange )
1>             ^
1>  
1>..\..\..\..\boost_1_51_0\boost/detail/interlocked.hpp(83): warning #1879: unimplemented pragma ignored
1>    # pragma intrinsic( _InterlockedExchangeAdd )
1>             ^
1>  
1>..\..\..\..\boost_1_51_0\boost/smart_ptr/detail/yield_k.hpp(33): warning #1879: unimplemented pragma ignored
1>    #pragma intrinsic( _mm_pause )
1>            ^

The warning level is Level4 (/W4).

Change History (6)

comment:1 by viboes, 9 years ago

Isn't this a duplicate of #6646?

comment:2 by abrarov@…, 9 years ago

This cosmetic issue may be considered as an update for #6646.

comment:3 by Peter Dimov, 9 years ago

The _Interlocked warnings should be fixed by [85994].

comment:4 by Peter Dimov, 9 years ago

(In [85995]) Remove #pragma intrinsic( _mm_pause ); not needed, not supported on Intel. Refs #6646, #7318.

comment:5 by Peter Dimov, 9 years ago

(In [86416]) Merged revision(s) 85994 from trunk: Add BOOST_USE_INTRIN_H support; remove #pragma intrinsic, not needed and not supported on Intel. Refs #6646. Refs #7318. Refs #9174.

comment:6 by Peter Dimov, 9 years ago

Resolution: fixed
Status: newclosed

(In [86417]) Merged revision(s) 85995 from trunk: Remove #pragma intrinsic( _mm_pause ); not needed, not supported on Intel. Closes #6646, #7318.

Note: See TracTickets for help on using tickets.