Skip to content
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

warnings in raspberry compilation #124

Open
jmcastillejo opened this issue Jan 2, 2020 · 0 comments
Open

warnings in raspberry compilation #124

jmcastillejo opened this issue Jan 2, 2020 · 0 comments

Comments

@jmcastillejo
Copy link

Only for debug purposes


in [MATIEC COMPILER]

debug_ast.cc:59:63: warning: invalid suffix on literal; C++11 requires a space b etween literal and string macro [-Wliteral-suffix]
if (const_value. _int64.is_valid ()) fprintf(stderr, "%"PRId64"", cons t_value. _int64.get());
^
debug_ast.cc:64:63: warning: invalid suffix on literal; C++11 requires a space b etween literal and string macro [-Wliteral-suffix]
if (const_value._uint64.is_valid ()) fprintf(stderr, "%"PRIu64"", cons t_value._uint64.get());
^
debug_ast.cc: In function ‘void dump_cvalue(const_value_c)’:
debug_ast.cc:54:63: warning: format ‘%f’ expects argument of type ‘double’, but argument 3 has type ‘long double’ [-Wformat=]
if (const_value._real64.is_valid ()) fprintf(stderr, "%f", cons t_value._real64.get());
^~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~

array_range_check.cc:138:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRId64", should be >= %"PRId64").", GET_CVALUE( int64, l->element s[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
^
array_range_check.cc:138:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRId64", should be >= %"PRId64").", GET_CVALUE( int64, l->element s[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
^
array_range_check.cc:142:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRId64", should be >= %"PRIu64").", GET_CVALUE( int64, l->element s[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
^
array_range_check.cc:142:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRId64", should be >= %"PRIu64").", GET_CVALUE( int64, l->element s[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
^
array_range_check.cc:146:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRIu64", should be >= %"PRIu64").", GET_CVALUE(uint64, l->element s[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
^
array_range_check.cc:146:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRIu64", should be >= %"PRIu64").", GET_CVALUE(uint64, l->element s[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
^
array_range_check.cc:150:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRIu64", should be >= %"PRId64").", GET_CVALUE(uint64, l->element s[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
^
array_range_check.cc:150:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRIu64", should be >= %"PRId64").", GET_CVALUE(uint64, l->element s[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
^
array_range_check.cc:155:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRId64", should be <= %"PRId64").", GET_CVALUE( int64, l->element s[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
^
array_range_check.cc:155:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRId64", should be <= %"PRId64").", GET_CVALUE( int64, l->element s[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
^
array_range_check.cc:159:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRId64", should be <= %"PRIu64").", GET_CVALUE( int64, l->element s[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
^
array_range_check.cc:159:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRId64", should be <= %"PRIu64").", GET_CVALUE( int64, l->element s[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
^
array_range_check.cc:163:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRIu64", should be <= %"PRIu64").", GET_CVALUE(uint64, l->element s[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
^
array_range_check.cc:163:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRIu64", should be <= %"PRIu64").", GET_CVALUE(uint64, l->element s[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
^
array_range_check.cc:167:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRIu64", should be <= %"PRId64").", GET_CVALUE(uint64, l->element s[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
^
array_range_check.cc:167:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
{STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using const ant value of %"PRIu64", should be <= %"PRId64").", GET_CVALUE(uint64, l->element s[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
^
array_range_check.cc:202:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
STAGE3_ERROR(0, symbol, symbol, "Subrange has lower limit (%"PRId64") larger than upper limit (%"PRId64").", GET_CVALUE( int64, symbol->lower_limit), GET_CV ALUE( int64, symbol->upper_limit));
^
array_range_check.cc:202:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
STAGE3_ERROR(0, symbol, symbol, "Subrange has lower limit (%"PRId64") larger than upper limit (%"PRId64").", GET_CVALUE( int64, symbol->lower_limit), GET_CV ALUE( int64, symbol->upper_limit));
^
array_range_check.cc:212:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
STAGE3_ERROR(0, symbol, symbol, "Subrange has lower limit (%"PRIu64") larger than upper limit (%"PRIu64").", GET_CVALUE(uint64, symbol->lower_limit), GET_CV ALUE(uint64, symbol->upper_limit));
^
array_range_check.cc:212:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
STAGE3_ERROR(0, symbol, symbol, "Subrange has lower limit (%"PRIu64") larger than upper limit (%"PRIu64").", GET_CVALUE(uint64, symbol->lower_limit), GET_CV ALUE(uint64, symbol->upper_limit));
^

generate_c_il.cc:957:11: warning: this ‘if’ clause does not guard... [-Wmisleadi ng-indentation]
if (nb_param > 0)
^~
generate_c_il.cc:959:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (param_value == NULL) {
^~

in Building CXX object

In file included from /usr/include/c++/8/vector:69,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/opendnp3/master/CommandSet.h30,
from /home/jose/OpenPLC_v3/utils/dnp3_src/cpp/libs/src/opendnp3/master/CommandSet.cpp:22:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(sd::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {opendnp3::TypedCommandHeaderopendnp3::AnaloOutputDouble64::Record}; _Tp = opendnp3::TypedCommandHeaderopendnp3::AnalogOutputDouble64::Record; _Allc = std::allocator<opendnp3::TypedCommandHeaderopendnp3::AnalogOutputDouble64::Record>]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<opendn3::TypedCommandHeaderopendnp3::AnalogOutputDouble64::Record, std::allocatoropendnp3::TypedCommandHeaderopendnp3::AnalogOutputDouble64::Record> >::iterator’ {aka ‘__gnu_cxx::__normal_iterator<opendnp3::TypedComandHeaderopendnp3::AnalogOutputDouble64::Record*, std::vector<opendnp3::TypedCommandHeaderopendnp3::AnlogOutputDouble64::Record, std::allocator<opendnp3::TypedCommandHeaderopendnp3::AnalogOutputDouble64::Rcord> > >’} changed in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/vector.tcc: In member function ‘opendnp3::ICommandCollection& opendnp3::TypedComandHeader::Add(const T&, uint16_t) [with T = opendnp3::AnalogOutputDouble64]’:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__norma_iterator<opendnp3::TypedCommandHeaderopendnp3::AnalogOutputDouble64::Record*, std::vector<opendnp3::TypdCommandHeaderopendnp3::AnalogOutputDouble64::Record, std::allocator<opendnp3::TypedCommandHeaderopendn3::AnalogOutputDouble64::Record> > >’ changed in GCC 7.1
_M_realloc_insert(end(), std::forward<_Args>(__args)...);
^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/vector.tcc: In member function ‘virtual opendnp3::ICommandCollectionopendnp3::AnaogOutputDouble64& opendnp3::TypedCommandHeaderopendnp3::AnalogOutputDouble64::_ZThn4_N8opendnp318TypedCmmandHeaderINS_20AnalogOutputDouble64EE3AddERKS1_t(const opendnp3::AnalogOutputDouble64&, uint16_t)’:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__norma_iterator<opendnp3::TypedCommandHeaderopendnp3::AnalogOutputDouble64::Record*, std::vector<opendnp3::TypdCommandHeaderopendnp3::AnalogOutputDouble64::Record, std::allocator<opendnp3::TypedCommandHeaderopendn3::AnalogOutputDouble64::Record> > >’ changed in GCC 7.1
_M_realloc_insert(end(), std::forward<_Args>(__args)...);
^~~~~~~~~~~~~~~~~

In file included from /usr/include/c++/8/vector:69,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/detail/impl/serviceregistry.ipp:19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/detail/service_regitry.hpp:141,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/impl/io_service.hpp19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/io_service.hpp:765,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_io_object.hpp19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_socket.hpp:20
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_datagram_sockt.hpp:20,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio.hpp:19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/asiopal/IO.h:24,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/asiopal/Executor.h:27,
from /home/jose/OpenPLC_v3/utils/dnp3_src/cpp/libs/src/asiopal/Executor.cpp:22:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(sd::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const asio::detail::timer_queue<asio::detail:chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clock > >:heap_entry&}; _Tp = asio::detail::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clck, asio::wait_traitsstd::chrono::_V2::steady_clock > >::heap_entry; _Alloc = std::allocator<asio::detai::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chroo::_V2::steady_clock > >::heap_entry>]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<asio::etail::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd:chrono::_V2::steady_clock > >::heap_entry, std::allocator<asio::detail::timer_queue<asio::detail::chrono_ime_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clock > >::heap_enty> >::iterator’ {aka ‘__gnu_cxx::__normal_iterator<asio::detail::timer_queue<asio::detail::chrono_time_trats<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clock > >::heap_entry*, std:vector<asio::detail::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wit_traitsstd::chrono::_V2::steady_clock > >::heap_entry, std::allocator<asio::detail::timer_queue<asio::etail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traits<std::chrono::_V2::steady_clock > >::heap_entry> > >’} changed in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:64,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/detail/impl/serviceregistry.ipp:19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/detail/service_regitry.hpp:141,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/impl/io_service.hpp19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/io_service.hpp:765,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_io_object.hpp19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_socket.hpp:20
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_datagram_sockt.hpp:20,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio.hpp:19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/asiopal/IO.h:24,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/asiopal/Executor.h:27,
from /home/jose/OpenPLC_v3/utils/dnp3_src/cpp/libs/src/asiopal/Executor.cpp:22:
/usr/include/c++/8/bits/stl_vector.h: In member function ‘void asio::detail::epoll_reactor::schedule_timerasio::detail::timer_queue<Time_Traits>&, const typename Time_Traits::time_type&, typename asio::detail::tier_queue<Time_Traits>::per_timer_data&, asio::detail::wait_op*) [with Time_Traits = asio::detail::chrono_tme_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clock >]’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__nomal_iterator<asio::detail::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, aso::wait_traitsstd::chrono::_V2::steady_clock > >::heap_entry*, std::vector<asio::detail::timer_queue<asi::detail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clck > >::heap_entry, std::allocator<asio::detail::timer_queue<asio::detail::chrono_time_traits<std::chrono:_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clock > >::heap_entry> > >’ changed in GCC7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~

In file included from /usr/include/c++/8/vector:69,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/detail/impl/serviceregistry.ipp:19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/detail/service_regitry.hpp:141,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/impl/io_service.hpp19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/io_service.hpp:765,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_io_object.hpp19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_socket.hpp:20
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_datagram_sockt.hpp:20,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio.hpp:19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/asiopal/IO.h:24,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/asiopal/Executor.h:27,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/asiopal/ThreadPool.h:27,
from /home/jose/OpenPLC_v3/utils/dnp3_src/cpp/libs/src/asiopal/ThreadPool.cpp:21:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(sd::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const asio::detail::timer_queue<asio::detail:chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clock > >:heap_entry&}; _Tp = asio::detail::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clck, asio::wait_traitsstd::chrono::_V2::steady_clock > >::heap_entry; _Alloc = std::allocator<asio::detai::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chroo::_V2::steady_clock > >::heap_entry>]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<asio::etail::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd:chrono::_V2::steady_clock > >::heap_entry, std::allocator<asio::detail::timer_queue<asio::detail::chrono_ime_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clock > >::heap_enty> >::iterator’ {aka ‘__gnu_cxx::__normal_iterator<asio::detail::timer_queue<asio::detail::chrono_time_trats<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clock > >::heap_entry*, std:vector<asio::detail::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wit_traitsstd::chrono::_V2::steady_clock > >::heap_entry, std::allocator<asio::detail::timer_queue<asio::etail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traits<std::chrono::_V2::steady_clock > >::heap_entry> > >’} changed in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:64,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/detail/impl/serviceregistry.ipp:19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/detail/service_regitry.hpp:141,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/impl/io_service.hpp19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/io_service.hpp:765,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_io_object.hpp19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_socket.hpp:20
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio/basic_datagram_sockt.hpp:20,
from /home/jose/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include/asio.hpp:19,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/asiopal/IO.h:24,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/asiopal/Executor.h:27,
from /home/jose/OpenPLC_v3/utils/dnp3_src/./cpp/libs/include/asiopal/ThreadPool.h:27,
from /home/jose/OpenPLC_v3/utils/dnp3_src/cpp/libs/src/asiopal/ThreadPool.cpp:21:
/usr/include/c++/8/bits/stl_vector.h: In member function ‘void asio::detail::epoll_reactor::schedule_timerasio::detail::timer_queue<Time_Traits>&, const typename Time_Traits::time_type&, typename asio::detail::tier_queue<Time_Traits>::per_timer_data&, asio::detail::wait_op*) [with Time_Traits = asio::detail::chrono_tme_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clock >]’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__nomal_iterator<asio::detail::timer_queue<asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, aso::wait_traitsstd::chrono::_V2::steady_clock > >::heap_entry*, std::vector<asio::detail::timer_queue<asi::detail::chrono_time_traits<std::chrono::_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clck > >::heap_entry, std::allocator<asio::detail::timer_queue<asio::detail::chrono_time_traits<std::chrono:_V2::steady_clock, asio::wait_traitsstd::chrono::_V2::steady_clock > >::heap_entry> > >’ changed in GCC7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant