Arm Mbed and Pelion Device Management support forum

SIZE_MAX not defined when using online compiler

Hi,

I’d like to create a project using HawkTracer, a performance tracing library developed at Amazon Prime Video: https://github.com/amzn/hawktracer

I can’t compile because I keep getting errors about SIZE_MAX not being defined. Usually this is fixed by including stdint.h or cstdint, but it does not help. SIZE_MAX is still not defined.

Is this a bug? How to get SIZE_MAX?