lcm-proj / lcm

Lightweight Communications and Marshalling
GNU Lesser General Public License v2.1
944 stars 385 forks source link

__STDC_FORMAT_MACROS not defined correctly in C++ unit tests #462

Open venabled opened 12 months ago

venabled commented 12 months ago

Fails to build tests with output of PRIu64

ihilt commented 12 months ago

What compiler, OS, and architecture produced the failure?

venabled commented 12 months ago

gcc9, linux-amd64

ihilt commented 12 months ago

Thanks! I'm attempting to reproduce on Ubuntu 20.04 with gcc9 but I'm not able to do so. What steps are you taking which lead to this failure? Are you passing any flags to cmake? The CMake configuration log and output from running make and make test would help me troubleshoot further.