瀏覽代碼

improve docs on forcing overlaying of floats

Julius Pfrommer 7 年之前
父節點
當前提交
48782e817a
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/ua_types_encoding_binary.c

+ 3 - 3
src/ua_types_encoding_binary.c

@@ -21,9 +21,9 @@
     Use slow generic encoding.
 #endif
 
-/* There is no robust way to detect float endianness in clang. This warning can
- * be removed if the target is known to be little endian with floats in the IEEE
- * 754 format. */
+/* There is no robust way to detect float endianness in clang.
+ * UA_BINARY_OVERLAYABLE_FLOAT can be manually set if the target is known to be
+ * little endian with floats in the IEEE 754 format. */
 #ifndef UA_BINARY_OVERLAYABLE_FLOAT
 # warning Float endianness could not be detected to be little endian in the IEEE \
     754 format. Use slow generic encoding.