Is there a reason that warnings don't default to on?


When configured with --enable-warnings, I get this on an old gcc.
  gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)

../../ntpd/ntp_wrapdate.c: In function 'eval_gps_time':
../../ntpd/ntp_wrapdate.c:226: warning: declaration of 'refclock_name'™ 
shadows a global declaration
../../include/ntp_refclock.h:192: warning: shadowed declaration is here

It looks like a legitimate warning to me.

The question is why don't we get similar warnings on newer compilers?



-- 
These are my opinions.  I hate spam.



_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to