소스 검색

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.