Free (GPLv2) TCP/IP stack developed by TASS Belgium

Dependents:   lpc1768-picotcp-demo ZeroMQ_PicoTCP_Publisher_demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test ... more

Issue: Compiler error with GCC ARM embedded: 'uint8_t' is not a member of 'std' (Closed: Fixed)

I get the following compiler error with GCC ARM embedded:

PicoTCP/modules/pico_dev_mbed.cpp:78:3: error: 'uint8_t' is not a member of 'std'

This is caused by the following line (PicoTCP/modules/pico_dev_mbed.cpp:78):

std::uint8_t mac[PICO_SIZE_ETH];

This is easely fixed by removing 'std::' so the line becomes:

uint8_t mac[PICO_SIZE_ETH];

GCC version:
gcc version 4.7.4 20130913 (release) [ARM/embedded-4_7-branch revision 202601] (GNU Tools for ARM Embedded Processors)

Wim Leflere

1 comment:

28 Nov 2013