Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5022

SDK • Re: Trouble printing time_us_64() [SOLVED]

$
0
0

Code:

#include <algorithm>
Right again !
I wasn't aware of that syntax, I thought it had to be a file name.

Now if I explicitly set c++11 it fails to find std::clamp but with c++17 it compiles.

Code:

set(CMAKE_CXX_STANDARD 17)
Thanks.

Statistics: Posted by pie_face — Fri Jan 03, 2025 10:38 pm



Viewing all articles
Browse latest Browse all 5022

Trending Articles