Opened 11 years ago
Closed 11 years ago
#5932 closed Bugs (duplicate)
Intel C++ V12.1.0.233 in Linux compilation errors
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | smart_ptr |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | icpc | Cc: |
Description
Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 12.1.0.233 Build 20110811 Copyright (C) 1985-2011 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY
intel-linux.compile.c++ /home/pal/work/cpp/tmp/boost/bin.v2/libs/regex/build/intel-linux-linux/release/address-model-64/link-static/threading-multi/c_regex_traits.o
./boost/config/compiler/intel.hpp(98): remark #193: zero used for undefined preprocessing identifier "_WCHAR_T_DEFINED"
# if ((_WCHAR_T_DEFINED + 0) == 0) && ((_WCHAR_T + 0) == 0)
./boost/throw_exception.hpp(76): remark #1418: external function definition with no prior declaration
throw_exception_( E const & x, char const * current_function, char const * file, int line )
./boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp(75): remark #593: variable "tmp" was set but never used
int rv, tmp;
./boost/smart_ptr/detail/shared_count.hpp(321): error: copy constructor for class "boost::detail::shared_count" may not have a parameter of type "boost::detail::shared_count"
shared_count(shared_count && r): pi_(r.pi_) nothrow
./boost/smart_ptr/detail/shared_count.hpp(321): error: expected a ")"
shared_count(shared_count && r): pi_(r.pi_) nothrow
./boost/smart_ptr/detail/shared_count.hpp(321): error: identifier "r" is undefined
shared_count(shared_count && r): pi_(r.pi_) nothrow
./boost/smart_ptr/detail/shared_count.hpp(428): error: copy constructor for class "boost::detail::weak_count" may not have a parameter of type "boost::detail::weak_count"
weak_count(weak_count && r): pi_(r.pi_) nothrow
./boost/smart_ptr/detail/shared_count.hpp(428): error: expected a ")"
weak_count(weak_count && r): pi_(r.pi_) nothrow
./boost/smart_ptr/detail/shared_count.hpp(428): error: identifier "r" is undefined
weak_count(weak_count && r): pi_(r.pi_) nothrow
...
compilation aborted for libs/regex/build/../src/cregex.cpp (code 2)
Attachments (1)
Change History (9)
by , 11 years ago
comment:1 by , 11 years ago
A similar discussion on the Intel Software Network forum: http://software.intel.com/en-us/forums/showthread.php?t=85958
comment:2 by , 11 years ago
Component: | None → smart_ptr |
---|---|
Owner: | set to |
comment:3 by , 11 years ago
I have hitting same problem with Intel compiler 12.1.0 on MacOSX and Boost 1.47.0.
this ticket is related with #5941, #5878. #5878 suggest workaround modify and it solved this problem.
r74573 doesn't fix this issue.
This problem can be caused by incorrect value of __INTEL_COMPILER define. Intel compiler 12.1.0 set __INTEL_COMPILER to 9999.
Previous Intel compiler 12.0.X set __INTEL_COMPILER to 1200, and boost/config/compiler/intel.hpp check it version and set variables.
follow-up: 7 comment:5 by , 11 years ago
comment:6 by , 11 years ago
Owner: | changed from | to
---|
comment:7 by , 11 years ago
Ticket #5937 has an attachment that shows the arguments Intel C++ is giving by default: https://svn.boost.org/trac/boost/attachment/ticket/5937/compilers
comment:8 by , 11 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicates ticket #5878. Verified fixed in Trunk.
error messages produced by icpc on linux