Good afternoon, 
I'm currently rebuilding my machine and I am having some issues with NaviServer 
(4.99-main #defd765) compiling on FreeBSD 14, with TCL 9.0b2 or TCL 9.0b1 
  
TCL 9.0b1 
=== 
 
cc  -O2 -Wall -fPIC  -pipe -finput-charset=UTF-8  -DNDEBUG -DSYSTEM_MALLOC 
-std=c99 -I../include -I"/usr/local/include"   -DHAVE_CONFIG_H   -c -o log.o 
log.c 
log.c:262:22: error: incompatible function pointer types passing 
'Tcl_PanicProc' (aka 'void (const char *, ...)') to parameter of type 'void 
(*)(const char *, ...) __attribute__((noreturn))' 
[-Wincompatible-function-pointer-types] 
    Tcl_SetPanicProc(Panic); 
                     ^~~~~ 
/usr/local/include/tcl.h:2366:37: note: passing argument to parameter 
'panicProc' here 
                            TCL_NORETURN1 Tcl_PanicProc *panicProc); 
                                                                                
     ^ 
   
TCL 9.0b2 
=== 
 
cc  -O2 -Wall -fPIC  -pipe -finput-charset=UTF-8  -DNDEBUG -DSYSTEM_MALLOC 
-std=c99 -I../include -I"/usr/local/include"   -DHAVE_CONFIG_H   -c -o log.o 
log.c 
log.c:262:22: error: incompatible function pointer types passing 
'Tcl_PanicProc' (aka 'void (const char *, ...)') to parameter of type 'void 
(*)(const char *, ...) __attribute__((noreturn))' 
[-Wincompatible-function-pointer-types] 
    Tcl_SetPanicProc(Panic); 
                     ^~~~~ 
/usr/local/include/tcl.h:2366:37: note: passing argument to parameter 
'panicProc' here 
                            TCL_NORETURN1 Tcl_PanicProc *panicProc); 
                                                                                
     ^ 
1 error generated. 
 
  
I'm using the latest GIT repo version. 
Any advice would be nice, I wish to use the ZIPFS that TCL9 brings. 
  
Regards, 
David F   
 
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to