Browse Source

improve warning message when endianness is not detected

Julius Pfrommer 8 years ago
parent
commit
c3014dd380
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/ua_config.h.in

+ 2 - 2
include/ua_config.h.in

@@ -172,11 +172,11 @@ extern "C" {
 
 
 #ifndef UA_BINARY_OVERLAYABLE_INTEGER
 #ifndef UA_BINARY_OVERLAYABLE_INTEGER
 # define UA_BINARY_OVERLAYABLE_INTEGER false
 # define UA_BINARY_OVERLAYABLE_INTEGER false
-# warning Slow Integer Encoding
+# warning Slow Integer Encoding. This warning can be removed safely. It is only an indicator that integer endianness could not be detected.
 #endif
 #endif
 #ifndef UA_BINARY_OVERLAYABLE_FLOAT
 #ifndef UA_BINARY_OVERLAYABLE_FLOAT
 # define UA_BINARY_OVERLAYABLE_FLOAT false
 # define UA_BINARY_OVERLAYABLE_FLOAT false
-# warning Slow Float Encoding
+# warning Slow Float Encoding. This warning can be removed safely. It is only an indicator that the float encoding could not be detected.
 #endif
 #endif
 
 
 #if defined(__clang__)
 #if defined(__clang__)