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

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

$
0
0
Anything in the compiler flags in the CMake file that might have caused gcc (version?) to warn about it?
No, I actually tried to specify c++17 to the std::clamp() fn but the cross-compiler said it did not have c++17 library, same for c++1; at the point it have gave up messing with version flags.

Code:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++17")

Statistics: Posted by pie_face — Thu Jan 02, 2025 4:58 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles