<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MCUXpresso IDE中的主题 vector warning</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/vector-warning/m-p/802362#M2841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For several MCUXpresso IDE versions now going back to 10.1.0, I see a bunch of notes in the build output regarding my code including the &amp;lt;vector&amp;gt; header file. This is a C++11 project using vectors. The notes are mostly annoying though suspicious. Seeing that subsequent build toolchain updates in MCUXpresso did not resolve or get rid of these notes, I wanted to ask the MCUXpresso design team about the plan to correct/remove them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample below comes for just one .cpp file. I have a similar set for other .cpp files that include &amp;lt;vector&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building file: ../src/switch_fabric/optce_conn_mgr_port.cpp&lt;BR /&gt;Invoking: MCU C++ Compiler&lt;BR /&gt;arm-none-eabi-c++ -DDEBUG -D__MCUXPRESSO -DCORE_M7 -DCR_PRINTF_CHAR -D__GENERIC_M7__ -D__NEWLIB__ -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DFSL_RTOS_FREE_RTOS -I"../inc/public" -I"../src/switch_fabric" -I"../src/tasks" -I"../src/tasks/pool" -I"../../../components/lCON/inc/public" -I"../../../components/lSPI/inc/public" -I"../../../components/lTimingProfiler/src" -I"../../../components/lUTIL/inc/public" -I"../../../vendor/sdk/devices/RT1052/utilities" -I"../../../vendor/sdk/rtos/amazon-freertos/FreeRTOS/portable" -I"../../../vendor/sdk/rtos/amazon-freertos/include" -I"../../../vendor/sdk/rtos/amazon-freertos/portable" -I"../../../vendor/sdk/src" -O0 -g3 -Wall -c -fmessage-length=0 -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -MMD -MP -MF"src/switch_fabric/optce_conn_mgr_port.d" -MT"src/switch_fabric/optce_conn_mgr_port.o" -MT"src/switch_fabric/optce_conn_mgr_port.d" -o "src/switch_fabric/optce_conn_mgr_port.o" "../src/switch_fabric/optce_conn_mgr_port.cpp"&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:69:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc: In member function 'void std::vector&amp;lt;_Tp, _Alloc&amp;gt;::reserve(std::vector&amp;lt;_Tp, _Alloc&amp;gt;::size_type) [with _Tp = optce::ConnMgrSpectrumUnitBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc:73:12: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; pointer __tmp = _M_allocate_and_copy(__n,&lt;BR /&gt; ^~~~~&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:64:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h: In member function 'std::vector&amp;lt;_Tp, _Alloc&amp;gt;::pointer std::vector&amp;lt;_Tp, _Alloc&amp;gt;::_M_allocate_and_copy(std::vector&amp;lt;_Tp, _Alloc&amp;gt;::size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;; _Tp = optce::ConnMgrSpectrumUnitBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h:1257:2: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; _M_allocate_and_copy(size_type __n,&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h:1257:2: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h:1263:35: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; std::__uninitialized_copy_a(__first, __last, __result,&lt;BR /&gt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt; _M_get_Tp_allocator());&lt;BR /&gt; ~~~~~~~~~~~~~~~~~~~~~~ &lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:69:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc: In member function 'void std::vector&amp;lt;_Tp, _Alloc&amp;gt;::emplace_back(_Args&amp;amp;&amp;amp; ...) [with _Args = {optce::ConnMgrSpectrumUnitBase}; _Tp = optce::ConnMgrSpectrumUnitBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc:105:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; _M_realloc_insert(end(), std::forward&amp;lt;_Args&amp;gt;(__args)...);&lt;BR /&gt; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc: In member function 'void std::vector&amp;lt;_Tp, _Alloc&amp;gt;::emplace_back(_Args&amp;amp;&amp;amp; ...) [with _Args = {optce::ConnMgrPortBase}; _Tp = optce::ConnMgrPortBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrPortBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc:105:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;optce::ConnMgrPortBase*, std::vector&amp;lt;optce::ConnMgrPortBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; _M_realloc_insert(end(), std::forward&amp;lt;_Args&amp;gt;(__args)...);&lt;BR /&gt; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:63:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator&amp;lt;_Tp&amp;gt;&amp;amp;) [with _InputIterator = std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*; _Tp = optce::ConnMgrSpectrumUnitBase]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:287:5: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:287:5: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:289:63: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; { return std::uninitialized_copy(__first, __last, __result); }&lt;BR /&gt; ^&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:69:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc: In member function 'void std::vector&amp;lt;_Tp, _Alloc&amp;gt;::_M_realloc_insert(std::vector&amp;lt;_Tp, _Alloc&amp;gt;::iterator, _Args&amp;amp;&amp;amp; ...) [with _Args = {optce::ConnMgrSpectrumUnitBase}; _Tp = optce::ConnMgrSpectrumUnitBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc:394:7: note: parameter passing for argument of type 'std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;::iterator {aka __gnu_cxx::__normal_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;}' changed in GCC 7.1&lt;BR /&gt; vector&amp;lt;_Tp, _Alloc&amp;gt;::&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc: In member function 'void std::vector&amp;lt;_Tp, _Alloc&amp;gt;::_M_realloc_insert(std::vector&amp;lt;_Tp, _Alloc&amp;gt;::iterator, _Args&amp;amp;&amp;amp; ...) [with _Args = {optce::ConnMgrPortBase}; _Tp = optce::ConnMgrPortBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrPortBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc:394:7: note: parameter passing for argument of type 'std::vector&amp;lt;optce::ConnMgrPortBase&amp;gt;::iterator {aka __gnu_cxx::__normal_iterator&amp;lt;optce::ConnMgrPortBase*, std::vector&amp;lt;optce::ConnMgrPortBase&amp;gt; &amp;gt;}' changed in GCC 7.1&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:63:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:115:5: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; uninitialized_copy(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:115:5: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:134:41: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninit_copy(__first, __last, __result);&lt;BR /&gt; ^&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In function '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&amp;amp;) [with _InputIterator = optce::ConnMgrSpectrumUnitBase*; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*; _Allocator = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:312:69: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR(__last), __result, __alloc);&lt;BR /&gt; ^&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In static member function 'static _ForwardIterator std::__uninitialized_copy&amp;lt;_TrivialValueTypes&amp;gt;::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*; bool _TrivialValueTypes = false]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:76:9: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninit_copy(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:76:9: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:64:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h: In copy constructor 'std::vector&amp;lt;_Tp, _Alloc&amp;gt;::vector(const std::vector&amp;lt;_Tp, _Alloc&amp;gt;&amp;amp;) [with _Tp = optce::ConnMgrSpectrumUnitBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h:331:31: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; std::__uninitialized_copy_a(__x.begin(), __x.end(),&lt;BR /&gt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt; this-&amp;gt;_M_impl._M_start,&lt;BR /&gt; ~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt; _M_get_Tp_allocator());&lt;BR /&gt; ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:63:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator&amp;lt;_Tp&amp;gt;&amp;amp;) [with _InputIterator = __gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*; _Tp = optce::ConnMgrSpectrumUnitBase]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:287:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:287:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:289:63: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; { return std::uninitialized_copy(__first, __last, __result); }&lt;BR /&gt; ^&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:115:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; uninitialized_copy(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:115:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:134:41: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninit_copy(__first, __last, __result);&lt;BR /&gt; ^&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In static member function 'static _ForwardIterator std::__uninitialized_copy&amp;lt;_TrivialValueTypes&amp;gt;::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*; bool _TrivialValueTypes = false]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:76:9: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninit_copy(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:76:9: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt;Finished building: ../src/switch_fabric/optce_conn_mgr_port.cpp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2018 18:45:21 GMT</pubDate>
    <dc:creator>edw8</dc:creator>
    <dc:date>2018-10-17T18:45:21Z</dc:date>
    <item>
      <title>vector warning</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/vector-warning/m-p/802362#M2841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For several MCUXpresso IDE versions now going back to 10.1.0, I see a bunch of notes in the build output regarding my code including the &amp;lt;vector&amp;gt; header file. This is a C++11 project using vectors. The notes are mostly annoying though suspicious. Seeing that subsequent build toolchain updates in MCUXpresso did not resolve or get rid of these notes, I wanted to ask the MCUXpresso design team about the plan to correct/remove them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample below comes for just one .cpp file. I have a similar set for other .cpp files that include &amp;lt;vector&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building file: ../src/switch_fabric/optce_conn_mgr_port.cpp&lt;BR /&gt;Invoking: MCU C++ Compiler&lt;BR /&gt;arm-none-eabi-c++ -DDEBUG -D__MCUXPRESSO -DCORE_M7 -DCR_PRINTF_CHAR -D__GENERIC_M7__ -D__NEWLIB__ -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DFSL_RTOS_FREE_RTOS -I"../inc/public" -I"../src/switch_fabric" -I"../src/tasks" -I"../src/tasks/pool" -I"../../../components/lCON/inc/public" -I"../../../components/lSPI/inc/public" -I"../../../components/lTimingProfiler/src" -I"../../../components/lUTIL/inc/public" -I"../../../vendor/sdk/devices/RT1052/utilities" -I"../../../vendor/sdk/rtos/amazon-freertos/FreeRTOS/portable" -I"../../../vendor/sdk/rtos/amazon-freertos/include" -I"../../../vendor/sdk/rtos/amazon-freertos/portable" -I"../../../vendor/sdk/src" -O0 -g3 -Wall -c -fmessage-length=0 -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__NEWLIB__ -MMD -MP -MF"src/switch_fabric/optce_conn_mgr_port.d" -MT"src/switch_fabric/optce_conn_mgr_port.o" -MT"src/switch_fabric/optce_conn_mgr_port.d" -o "src/switch_fabric/optce_conn_mgr_port.o" "../src/switch_fabric/optce_conn_mgr_port.cpp"&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:69:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc: In member function 'void std::vector&amp;lt;_Tp, _Alloc&amp;gt;::reserve(std::vector&amp;lt;_Tp, _Alloc&amp;gt;::size_type) [with _Tp = optce::ConnMgrSpectrumUnitBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc:73:12: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; pointer __tmp = _M_allocate_and_copy(__n,&lt;BR /&gt; ^~~~~&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:64:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h: In member function 'std::vector&amp;lt;_Tp, _Alloc&amp;gt;::pointer std::vector&amp;lt;_Tp, _Alloc&amp;gt;::_M_allocate_and_copy(std::vector&amp;lt;_Tp, _Alloc&amp;gt;::size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;; _Tp = optce::ConnMgrSpectrumUnitBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h:1257:2: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; _M_allocate_and_copy(size_type __n,&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h:1257:2: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h:1263:35: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; std::__uninitialized_copy_a(__first, __last, __result,&lt;BR /&gt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt; _M_get_Tp_allocator());&lt;BR /&gt; ~~~~~~~~~~~~~~~~~~~~~~ &lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:69:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc: In member function 'void std::vector&amp;lt;_Tp, _Alloc&amp;gt;::emplace_back(_Args&amp;amp;&amp;amp; ...) [with _Args = {optce::ConnMgrSpectrumUnitBase}; _Tp = optce::ConnMgrSpectrumUnitBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc:105:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; _M_realloc_insert(end(), std::forward&amp;lt;_Args&amp;gt;(__args)...);&lt;BR /&gt; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc: In member function 'void std::vector&amp;lt;_Tp, _Alloc&amp;gt;::emplace_back(_Args&amp;amp;&amp;amp; ...) [with _Args = {optce::ConnMgrPortBase}; _Tp = optce::ConnMgrPortBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrPortBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc:105:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;optce::ConnMgrPortBase*, std::vector&amp;lt;optce::ConnMgrPortBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; _M_realloc_insert(end(), std::forward&amp;lt;_Args&amp;gt;(__args)...);&lt;BR /&gt; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:63:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator&amp;lt;_Tp&amp;gt;&amp;amp;) [with _InputIterator = std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*; _Tp = optce::ConnMgrSpectrumUnitBase]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:287:5: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:287:5: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:289:63: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; { return std::uninitialized_copy(__first, __last, __result); }&lt;BR /&gt; ^&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:69:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc: In member function 'void std::vector&amp;lt;_Tp, _Alloc&amp;gt;::_M_realloc_insert(std::vector&amp;lt;_Tp, _Alloc&amp;gt;::iterator, _Args&amp;amp;&amp;amp; ...) [with _Args = {optce::ConnMgrSpectrumUnitBase}; _Tp = optce::ConnMgrSpectrumUnitBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc:394:7: note: parameter passing for argument of type 'std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;::iterator {aka __gnu_cxx::__normal_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;}' changed in GCC 7.1&lt;BR /&gt; vector&amp;lt;_Tp, _Alloc&amp;gt;::&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc: In member function 'void std::vector&amp;lt;_Tp, _Alloc&amp;gt;::_M_realloc_insert(std::vector&amp;lt;_Tp, _Alloc&amp;gt;::iterator, _Args&amp;amp;&amp;amp; ...) [with _Args = {optce::ConnMgrPortBase}; _Tp = optce::ConnMgrPortBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrPortBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\vector.tcc:394:7: note: parameter passing for argument of type 'std::vector&amp;lt;optce::ConnMgrPortBase&amp;gt;::iterator {aka __gnu_cxx::__normal_iterator&amp;lt;optce::ConnMgrPortBase*, std::vector&amp;lt;optce::ConnMgrPortBase&amp;gt; &amp;gt;}' changed in GCC 7.1&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:63:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:115:5: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; uninitialized_copy(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:115:5: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:134:41: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninit_copy(__first, __last, __result);&lt;BR /&gt; ^&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In function '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&amp;amp;) [with _InputIterator = optce::ConnMgrSpectrumUnitBase*; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*; _Allocator = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:312:69: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR(__last), __result, __alloc);&lt;BR /&gt; ^&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In static member function 'static _ForwardIterator std::__uninitialized_copy&amp;lt;_TrivialValueTypes&amp;gt;::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*; bool _TrivialValueTypes = false]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:76:9: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninit_copy(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:76:9: note: parameter passing for argument of type 'std::move_iterator&amp;lt;optce::ConnMgrSpectrumUnitBase*&amp;gt;' changed in GCC 7.1&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:64:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h: In copy constructor 'std::vector&amp;lt;_Tp, _Alloc&amp;gt;::vector(const std::vector&amp;lt;_Tp, _Alloc&amp;gt;&amp;amp;) [with _Tp = optce::ConnMgrSpectrumUnitBase; _Alloc = std::allocator&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt;]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_vector.h:331:31: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; std::__uninitialized_copy_a(__x.begin(), __x.end(),&lt;BR /&gt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt; this-&amp;gt;_M_impl._M_start,&lt;BR /&gt; ~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt; _M_get_Tp_allocator());&lt;BR /&gt; ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;In file included from c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\vector:63:0,&lt;BR /&gt; from ../src/switch_fabric/optce_conn_mgr_port.cpp:25:&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator&amp;lt;_Tp&amp;gt;&amp;amp;) [with _InputIterator = __gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*; _Tp = optce::ConnMgrSpectrumUnitBase]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:287:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:287:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:289:63: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; { return std::uninitialized_copy(__first, __last, __result); }&lt;BR /&gt; ^&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:115:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; uninitialized_copy(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:115:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:134:41: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninit_copy(__first, __last, __result);&lt;BR /&gt; ^&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h: In static member function 'static _ForwardIterator std::__uninitialized_copy&amp;lt;_TrivialValueTypes&amp;gt;::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;; _ForwardIterator = optce::ConnMgrSpectrumUnitBase*; bool _TrivialValueTypes = false]':&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:76:9: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt; __uninit_copy(_InputIterator __first, _InputIterator __last,&lt;BR /&gt; ^~~~~~~~~~~~~&lt;BR /&gt;c:\nxp\mcuxpressoide_10.2.1_795\ide\tools\arm-none-eabi\include\c++\7.2.1\bits\stl_uninitialized.h:76:9: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator&amp;lt;const optce::ConnMgrSpectrumUnitBase*, std::vector&amp;lt;optce::ConnMgrSpectrumUnitBase&amp;gt; &amp;gt;' changed in GCC 7.1&lt;BR /&gt;Finished building: ../src/switch_fabric/optce_conn_mgr_port.cpp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 18:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/vector-warning/m-p/802362#M2841</guid>
      <dc:creator>edw8</dc:creator>
      <dc:date>2018-10-17T18:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: vector warning</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/vector-warning/m-p/802363#M2842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This warning relates to an ABI compatibility issue&amp;nbsp;between code built with GCC6 and GCC7. As long as you are building all code with the same GCC version, you should be able to ignore, and disable using the "-Wno-psabi" option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, do an internet search for something like "parameter passing for argument changed in GCC 7.1" which will give numerous hits, for instance:&amp;nbsp;&lt;A class="link-titled" href="https://gcc.gnu.org/ml/gcc/2017-05/msg00072.html" title="https://gcc.gnu.org/ml/gcc/2017-05/msg00072.html"&gt;https://gcc.gnu.org/ml/gcc/2017-05/msg00072.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 19:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/vector-warning/m-p/802363#M2842</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-10-18T19:29:16Z</dc:date>
    </item>
  </channel>
</rss>

