[libcamera-devel] GCC v6 (arm) warnings
Kieran Bingham
kieran.bingham at ideasonboard.com
Tue Mar 19 17:40:18 CET 2019
The following output is generated when building libcamera on ARM with
gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516
I don't think this requires any action at this time as I believe it
compiles cleanly on GCCv8, so I'm simply posting for reference in case
anyone spots a cleanup.
--
Kieran
> In file included from /usr/include/c++/6/vector:63:0,
> from ../include/libcamera/buffer.h:11,
> from ../src/libcamera/buffer.cpp:13:
> /usr/include/c++/6/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = libcamera::Buffer*; _ForwardIterator = libcamera::Buffer*; _Allocator = std::allocator<libcamera::Buffer>]’:
> /usr/include/c++/6/bits/stl_uninitialized.h:304:69: note: parameter passing for argument of type ‘std::move_iterator<libcamera::Buffer*>’ will change in GCC 7.1
> _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR(__last), __result, __alloc);
> ^
> /usr/include/c++/6/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iterator<libcamera::Buffer*>; _ForwardIterator = libcamera::Buffer*; _Tp = libcamera::Buffer]’:
> /usr/include/c++/6/bits/stl_uninitialized.h:279:5: note: parameter passing for argument of type ‘std::move_iterator<libcamera::Buffer*>’ will change in GCC 7.1
> __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,
> ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/6/bits/stl_uninitialized.h:279:5: note: parameter passing for argument of type ‘std::move_iterator<libcamera::Buffer*>’ will change in GCC 7.1
> /usr/include/c++/6/bits/stl_uninitialized.h:281:63: note: parameter passing for argument of type ‘std::move_iterator<libcamera::Buffer*>’ will change in GCC 7.1
> { return std::uninitialized_copy(__first, __last, __result); }
> ^
> /usr/include/c++/6/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<libcamera::Buffer*>; _ForwardIterator = libcamera::Buffer*]’:
> /usr/include/c++/6/bits/stl_uninitialized.h:107:5: note: parameter passing for argument of type ‘std::move_iterator<libcamera::Buffer*>’ will change in GCC 7.1
> uninitialized_copy(_InputIterator __first, _InputIterator __last,
> ^~~~~~~~~~~~~~~~~~
> /usr/include/c++/6/bits/stl_uninitialized.h:107:5: note: parameter passing for argument of type ‘std::move_iterator<libcamera::Buffer*>’ will change in GCC 7.1
> /usr/include/c++/6/bits/stl_uninitialized.h:126:41: note: parameter passing for argument of type ‘std::move_iterator<libcamera::Buffer*>’ will change in GCC 7.1
> __uninit_copy(__first, __last, __result);
> ^
> /usr/include/c++/6/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<libcamera::Buffer*>; _ForwardIterator = libcamera::Buffer*; bool _TrivialValueTypes = false]’:
> /usr/include/c++/6/bits/stl_uninitialized.h:68:9: note: parameter passing for argument of type ‘std::move_iterator<libcamera::Buffer*>’ will change in GCC 7.1
> __uninit_copy(_InputIterator __first, _InputIterator __last,
> ^~~~~~~~~~~~~
> /usr/include/c++/6/bits/stl_uninitialized.h:68:9: note: parameter passing for argument of type ‘std::move_iterator<libcamera::Buffer*>’ will change in GCC 7.1
--
Regards
--
Kieran
More information about the libcamera-devel
mailing list