cURL / Mailing Lists / curl-library / Single Mail


-Wfloat-equal and -Wunreachable-code used in ares

From: Tor Arntsen <>
Date: Fri, 13 Feb 2004 20:01:34 +0100

When compiling ares with gcc 2.95.2:
cc1: Invalid option `-Wfloat-equal'
cc1: Invalid option `-Wunreachable-code'


These warnings seems to be undocumented features of gcc 2.96, and documented
features of gcc 3.x. As 2.96 was an unofficial snapshot+Redhat hack, those
warning flags should probably only be added to CFLAGS for gcc3 and onwards,
if possible.

Received on 2004-02-13