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

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

$
0
0
Ah , of course. I was a bit surprised the compiler didn't pick that up. I usually build with -Wall but had forgotten to add this the cmake config. I even had a commented out line about setting CXXFLAGS but never remembered to do it.

Setting -Wall also picked up a few other goofs which had not made themselves apparent yet. I was being a bit too liberal with the use of %d .

Thanks for pointing that out. Probably saved me a lot of wasted time elsewhere

Statistics: Posted by pie_face — Wed Jan 01, 2025 8:52 pm



Viewing all articles
Browse latest Browse all 4971

Trending Articles