Re: [PATCHES] [HACKERS] kerberos related warning

2006-07-12 Thread Peter Eisentraut
Am Mittwoch, 12. Juli 2006 04:38 schrieb Joe Conway:
  gcc -O -Wall -Wmissing-prototypes -Wpointer-arith -Winline
  -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g
  -pthread  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fpic
  -DFRONTEND -I. -I../../../src/include -D_GNU_SOURCE  -I/usr/include/et
  -I../../../src/port  -c -o fe-auth.o fe-auth.c -MMD
  fe-auth.c: In function 'pg_fe_getauthname':
  fe-auth.c:573: warning: passing argument 1 of 'free' discards qualifiers
  from pointer target type

I don't see that.  Which Kerberos version do you have?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---(end of broadcast)---
TIP 6: explain analyze is your friend


Re: [PATCHES] [HACKERS] kerberos related warning

2006-07-12 Thread Joe Conway

Peter Eisentraut wrote:

Am Mittwoch, 12. Juli 2006 04:38 schrieb Joe Conway:


gcc -O -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g
-pthread  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fpic
-DFRONTEND -I. -I../../../src/include -D_GNU_SOURCE  -I/usr/include/et
-I../../../src/port  -c -o fe-auth.o fe-auth.c -MMD
fe-auth.c: In function 'pg_fe_getauthname':
fe-auth.c:573: warning: passing argument 1 of 'free' discards qualifiers
from pointer target type



I don't see that.  Which Kerberos version do you have?


I don't think it's related to Kerberos except that the entire problem is 
 #ifdef'd out unless configure --with-krb5 is used. Maybe more 
related to gcc version? In any case, I'm running stock fedora core 5:


krb5-libs-1.4.3-4.1
gcc-4.1.1-1.fc5

Joe

---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?

  http://www.postgresql.org/docs/faq