lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] [PATCH] Add missing <climits>


From: Vadim Zeitlin
Subject: [lmi] [PATCH] Add missing <climits>
Date: Thu, 30 Aug 2018 01:27:56 +0200

 Hello,

 Building test_coding_rules with g++ 8 I was getting these errors:

---------------------------------- >8 --------------------------------------
main_common.hpp:30:20: error: ‘CHAR_BIT’ was not declared in this scope
 static_assert(8 == CHAR_BIT);
                    ^~~~~~~~
main_common.hpp:30:20: note: ‘CHAR_BIT’ is defined in header ‘<climits>’; did 
you forget to ‘#include <climits>’?
+#include <climits>

 static_assert(8 == CHAR_BIT);
                    ^~~~~~~~
---------------------------------- >8 --------------------------------------

so I've made a trivial patch fixing this as advised by gcc, please see

        https://github.com/vadz/lmi/pull/93

 Thanks in advance for applying it,
VZ


reply via email to

[Prev in Thread] Current Thread [Next in Thread]