Ticket Hash: | c6829e8f45e9ddf47c60213505efaaf60844e384 | ||
Title: | generic/vfs.c: Vfs_Init protoype with EXTERN, function without | ||
Status: | Open | Type: | Code_Defect |
Severity: | Cosmetic | Priority: | |
Subsystem: | Resolution: | ||
Last Modified: | 2020-04-21 20:11:36 | ||
Version Found In: | trunk |
User Comments: | ||||
oehhar added on 2020-04-21 20:11:36:
In file generic/vfs.c : There is the following prototype: EXTERN int Vfs_Init _ANSI_ARGS_((Tcl_Interp*)); many lines below, there is the function definition starting with: int Vfs_Init _ANSI_ARGS_((Tcl_Interp*)) { ... There is no "EXTERN" in the function definition, but in the prototype. Compiling with MS-VC6, this missmatch gives a warning. I have removed the EXTERN from the prototype and it works well. I suppose, only MS-VC is critical here, but it might not harm to correct this. Thank you, Harald |