Hi,

I am trying to compiler MIT Kerberos version 1.19.1 in RedHat linux with
following gcc:
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)

Getting following error:
gic_keytab.c:185: error: ‘etype_list’ may be used uninitialized in this
function
At top level:
cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized"

In config.log, i can see that configure script is not able to identify that
the option is not supported as gcc gives warning instead of error:
configure:4708: gcc -c -g -O2  -Wno-maybe-uninitialized  conftest.c >&5
configure:4708: $? = 0
configure:4721: result: yes

It compiles fine if i remove "error=uninitialized" to allow uninitialized
variables.
Is it safe to compile without it ?
What is the version of gcc used to build and test MIT Kerberos in dev
environment ?

-- 
Regards,
Vipul
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to