diff --git a/examples/dreamcast/cpp/concurrency/Makefile b/examples/dreamcast/cpp/concurrency/Makefile index 3ace6f9d2..5085ecc25 100644 --- a/examples/dreamcast/cpp/concurrency/Makefile +++ b/examples/dreamcast/cpp/concurrency/Makefile @@ -5,7 +5,7 @@ TARGET = concurrency.elf OBJS = concurrency.o -KOS_CPPFLAGS += -std=c++20 +KOS_CPPFLAGS += -std=c++20 -Wno-dangling-pointer KOS_GCCVER_MIN = 12.0.0 include $(KOS_BASE)/Makefile.rules diff --git a/examples/dreamcast/gldc/basic/gl/gltest.c b/examples/dreamcast/gldc/basic/gl/gltest.c index eb6a24b5b..ba673a03d 100755 --- a/examples/dreamcast/gldc/basic/gl/gltest.c +++ b/examples/dreamcast/gldc/basic/gl/gltest.c @@ -243,7 +243,7 @@ int main(int argc, char **argv) { } pvr_get_stats(&stats); - printf("VBL Count: %ld, last_time: %d, frame rate: %f fps\n", + printf("VBL Count: %d, last_time: %lld, frame rate: %f fps\n", stats.vbl_count, stats.frame_last_time, stats.frame_rate); return 0; diff --git a/examples/dreamcast/gldc/benchmarks/quadmark/quadmark.c b/examples/dreamcast/gldc/benchmarks/quadmark/quadmark.c index e695aacd0..70dbc651c 100644 --- a/examples/dreamcast/gldc/benchmarks/quadmark/quadmark.c +++ b/examples/dreamcast/gldc/benchmarks/quadmark/quadmark.c @@ -39,7 +39,7 @@ void stats(void) { pvr_stats_t stats; pvr_get_stats(&stats); - dbglog(DBG_DEBUG, "3D Stats: %ld VBLs, frame rate ~%f fps\n", + dbglog(DBG_DEBUG, "3D Stats: %d VBLs, frame rate ~%f fps\n", stats.vbl_count, stats.frame_rate); } diff --git a/examples/dreamcast/gldc/benchmarks/trimark/trimark.c b/examples/dreamcast/gldc/benchmarks/trimark/trimark.c index a6e874e5c..83d6273ee 100644 --- a/examples/dreamcast/gldc/benchmarks/trimark/trimark.c +++ b/examples/dreamcast/gldc/benchmarks/trimark/trimark.c @@ -39,7 +39,7 @@ void stats(void) { pvr_stats_t stats; pvr_get_stats(&stats); - dbglog(DBG_DEBUG, "3D Stats: %ld VBLs, frame rate ~%f fps\n", + dbglog(DBG_DEBUG, "3D Stats: %d VBLs, frame rate ~%f fps\n", stats.vbl_count, stats.frame_rate); } diff --git a/examples/dreamcast/gldc/benchmarks/tristripmark/tristripmark.c b/examples/dreamcast/gldc/benchmarks/tristripmark/tristripmark.c index 12f2690f1..aa4b9a0d2 100644 --- a/examples/dreamcast/gldc/benchmarks/tristripmark/tristripmark.c +++ b/examples/dreamcast/gldc/benchmarks/tristripmark/tristripmark.c @@ -39,7 +39,7 @@ void stats(void) { pvr_stats_t stats; pvr_get_stats(&stats); - dbglog(DBG_DEBUG, "3D Stats: %ld VBLs, frame rate ~%f fps\n", + dbglog(DBG_DEBUG, "3D Stats: %d VBLs, frame rate ~%f fps\n", stats.vbl_count, stats.frame_rate); }