Boost logo

Boost :

Subject: [boost] boost 1.53 config_test failed with icl 14.0 beta
From: Jiang, Jennifer L (jennifer.l.jiang_at_[hidden])
Date: 2013-05-07 13:22:26


When testing boost 1.53, we saw an issue with config_test. It failed when using icl 14.0 beta.

Q:\boost_1_53_0\libs\config\test>icl -TP /MDd /Zc:forScope /Zc:wchar_t /EHs -Od -DBOOST_ALL_NO_LIB=1 "-I..\..\.." confi
g_test.cpp
Intel(R) C++ Compiler XE for applications running on IA-32, Version 14.0.0.050 Beta Build 20130417
Copyright (C) 1985-2013 Intel Corporation. All rights reserved.

config_test.cpp

-out:config_test.exe
config_test.obj

Q:\boost_1_53_0\libs\config\test>config_test
Note: Failed to value-initialize m_ptr_to_member_array[0].
Note: Failed to value-initialize m_ptr_to_member_array[1].
Note: Failed to value-initialize m_ptr_to_member_struct.
Note: Failed to value-initialize m_ptr_to_member_struct_array[0].
Note: Failed to value-initialize m_ptr_to_member_struct_array[1].
- Number of subobject initialization failures of a temporary: 5
Note: Failed to value-initialize m_ptr_to_member_array[0].
.....
.....

The reason is the "__INTEL_COMPILER" is 1400 in 14.0 beta.
After updating intel.hpp to following at line 183, the "config_test.ex" passed without issue:
#if defined(__INTEL_COMPILER)
# if (__INTEL_COMPILER <= 1110) || (__INTEL_COMPILER == 1400) || (__INTEL_COMPILER == 9999)
# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
# endif
#endif

Could you fix this issue in the trunk for future releases?

Jennifer


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk