Merge pull request #13843 from marcelbrucker/fix_linking_issue

Fix linking issue #13793 when using -O0 compiler optimization in ARMC…
pull/13899/head
Martin Kojtal 2020-11-03 14:01:25 +00:00 committed by GitHub
commit c5bae34e9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,8 @@ using namespace mbed;
using namespace mbed_cellular_util; using namespace mbed_cellular_util;
using namespace std::chrono; using namespace std::chrono;
constexpr seconds RM1000_AT_CellularStack::SOCKET_TIMEOUT;
RM1000_AT_CellularStack::RM1000_AT_CellularStack(ATHandler &atHandler, int cid, nsapi_ip_stack_t stack_type, AT_CellularDevice &device) : RM1000_AT_CellularStack::RM1000_AT_CellularStack(ATHandler &atHandler, int cid, nsapi_ip_stack_t stack_type, AT_CellularDevice &device) :
AT_CellularStack(atHandler, cid, stack_type, device) AT_CellularStack(atHandler, cid, stack_type, device)
{ {

View File

@ -22,6 +22,8 @@ using namespace mbed;
using namespace mbed_cellular_util; using namespace mbed_cellular_util;
using namespace std::chrono_literals; using namespace std::chrono_literals;
constexpr seconds UBLOX_AT_CellularStack::SOCKET_TIMEOUT;
UBLOX_AT_CellularStack::UBLOX_AT_CellularStack(ATHandler &atHandler, int cid, nsapi_ip_stack_t stack_type, AT_CellularDevice &device) : UBLOX_AT_CellularStack::UBLOX_AT_CellularStack(ATHandler &atHandler, int cid, nsapi_ip_stack_t stack_type, AT_CellularDevice &device) :
AT_CellularStack(atHandler, cid, stack_type, device) AT_CellularStack(atHandler, cid, stack_type, device)
{ {

View File

@ -22,6 +22,8 @@
using namespace mbed; using namespace mbed;
using namespace mbed_cellular_util; using namespace mbed_cellular_util;
constexpr seconds UBLOX_N2XX_CellularStack::SOCKET_TIMEOUT;
UBLOX_N2XX_CellularStack::UBLOX_N2XX_CellularStack(ATHandler &atHandler, int cid, nsapi_ip_stack_t stack_type, AT_CellularDevice &device): UBLOX_N2XX_CellularStack::UBLOX_N2XX_CellularStack(ATHandler &atHandler, int cid, nsapi_ip_stack_t stack_type, AT_CellularDevice &device):
AT_CellularStack(atHandler, cid, stack_type, device) AT_CellularStack(atHandler, cid, stack_type, device)
{ {