about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--FAQ13
1 files changed, 13 insertions, 0 deletions
diff --git a/FAQ b/FAQ
index e88fb734b6..b4964a2b92 100644
--- a/FAQ
+++ b/FAQ
@@ -129,6 +129,8 @@ please let me know.
 	I get segmentation faults when I run the program.
 3.15.	The sys/sem.h file lacks the definition of `union semun'.
 3.16.	Why has <netinet/ip_fw.h> disappeared?
+3.17.	I get floods of warnings when I use -Wconversion and include
+	<string.h> or <math.h>.
 
 4. Miscellaneous
 
@@ -1328,6 +1330,17 @@ taken care in user programs using the firewall structures and therefore
 those programs (ipfw is AFAIK the only one) should deal with this problem
 themselves.
 
+
+3.17.	I get floods of warnings when I use -Wconversion and include
+	<string.h> or <math.h>.
+
+{ZW} <string.h> and <math.h> intentionally use prototypes to override
+argument promotion.  -Wconversion warns about all these.  You can safely
+ignore the warnings.
+
+-Wconversion isn't really intended for production use, only for shakedown
+compiles after converting an old program to standard C.
+
 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .