-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GCC 4.8.1 warnings #27
Milestone
Comments
[ 29%] Building CXX object src/CMakeFiles/leosac_lib.dir/hardware/device/dipswitch.cpp.o
In file included from /home/linaro/leosac/src/hardware/device/dipswitch.hpp:14:0,
from /home/linaro/leosac/src/hardware/device/dipswitch.cpp:7:
/home/linaro/leosac/src/hardware/device/gpiodevice.hpp: In instantiation of 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = GpioDevice; _Args = {GpioDevice}]':
/usr/include/c++/4.8/bits/stl_uninitialized.h:75:53: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<GpioDevice*>; _ForwardIterator = GpioDevice*; bool _TrivialValueTypes = false]'
/usr/include/c++/4.8/bits/stl_uninitialized.h:117:41: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<GpioDevice*>; _ForwardIterator = GpioDevice*]'
/usr/include/c++/4.8/bits/stl_uninitialized.h:258:63: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iterator<GpioDevice*>; _ForwardIterator = GpioDevice*; _Tp = GpioDevice]'
/usr/include/c++/4.8/bits/stl_uninitialized.h:281:67: required from '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = GpioDevice*; _ForwardIterator = GpioDevice*; _Allocator = std::allocator<GpioDevice>]'
/usr/include/c++/4.8/bits/vector.tcc:415:43: required from 'void std::vector<_Tp, _Alloc>::_M_emplace_back_aux(_Args&& ...) [with _Args = {IGPIOProvider&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >}; _Tp = GpioDevice; _Alloc = std::allocator<GpioDevice>]'
/usr/include/c++/4.8/bits/vector.tcc:101:54: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {IGPIOProvider&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >}; _Tp = GpioDevice; _Alloc = std::allocator<GpioDevice>]'
/home/linaro/leosac/src/hardware/device/dipswitch.cpp:34:79: required from here
/home/linaro/leosac/src/hardware/device/gpiodevice.hpp:24:5: warning: unused parameter 'other' [-Wunused-parameter]
In file included from /usr/include/c++/4.8/memory:64:0,
from /usr/include/boost/property_tree/ptree_fwd.hpp:18,
from /usr/include/boost/property_tree/ptree.hpp:15,
from /home/linaro/leosac/src/config/ixmlserializable.hpp:10,
from /home/linaro/leosac/src/hardware/iserializabledevice.hpp:11,
from /home/linaro/leosac/src/hardware/device/dipswitch.hpp:12,
from /home/linaro/leosac/src/hardware/device/dipswitch.cpp:7:
/usr/include/c++/4.8/bits/stl_construct.h:75:7: note: synthesized method 'GpioDevice::GpioDevice(GpioDevice&&)' first required here Same type of warning |
They are just here because gcc 4.8.1 does not fully support C++11's |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Warning coming from gcc default denerated method
The text was updated successfully, but these errors were encountered: