From 174450f1a54bf61b076258356b8b1d039804f2ec Mon Sep 17 00:00:00 2001 From: mikee47 Date: Mon, 22 Apr 2024 14:15:34 +0100 Subject: [PATCH] Make time_t size check message more helpful --- Sming/Core/DateTime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sming/Core/DateTime.cpp b/Sming/Core/DateTime.cpp index f4d696d81f..6dfa23483c 100644 --- a/Sming/Core/DateTime.cpp +++ b/Sming/Core/DateTime.cpp @@ -18,7 +18,7 @@ static_assert(sizeof(time_t) != 8, "Great! Now supports 64-bit - please update code"); #warning "**Y2038** time_t is only 32-bits in this build configuration" #else -static_assert(sizeof(time_t) == 8, "Expecting 64-bit time_t"); +static_assert(sizeof(time_t) == 8, "Expecting 64-bit time_t - please use GCC 10 or later"); #endif namespace