-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed as not planned
Labels
buildThe build process and cross-buildThe build process and cross-buildtopic-tkintertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
I am building the latest main at 48c70b8 , with ./configure
and make
commands. These are the warnings i have seen in the console. I have seen some other warnings too, for them i have raised another issue #128086. Looks like these are related to Tcl/tk, hence new issue.
In file included from /usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/tk.h:99:
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:131:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
131 | int (*free_private)(); /* called to free private storage */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:334:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
334 | struct _XImage *(*create_image)();
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:453:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
453 | XID (*resource_alloc)(); /* allocator function */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:471:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
471 | int (*synchandler)(); /* Synchronization handler */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:496:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
496 | Bool (*event_vec[128])(); /* vector for wire to event */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:497:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
497 | Status (*wire_vec[128])(); /* vector for event to wire */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:509:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
509 | Bool (**error_vec)(); /* vector for wire to error */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:522:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
522 | int (*savedsynchandler)(); /* user synchandler when Xlib usurps */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:1053:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
1053 | typedef void (*XIMProc)();
| ^
| void
9 warnings generated.
gcc -I/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk -Wno-strict-prototypes -DWITH_APPINIT=1 -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -c ./Modules/tkappinit.c -o Modules/tkappinit.o
In file included from ./Modules/tkappinit.c:17:
In file included from /usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/tk.h:99:
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:131:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
131 | int (*free_private)(); /* called to free private storage */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:334:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
334 | struct _XImage *(*create_image)();
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:453:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
453 | XID (*resource_alloc)(); /* allocator function */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:471:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
471 | int (*synchandler)(); /* Synchronization handler */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:496:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
496 | Bool (*event_vec[128])(); /* vector for wire to event */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:497:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
497 | Status (*wire_vec[128])(); /* vector for event to wire */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:509:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
509 | Bool (**error_vec)(); /* vector for wire to error */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:522:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
522 | int (*savedsynchandler)(); /* user synchandler when Xlib usurps */
| ^
| void
/usr/local/Cellar/tcl-tk/8.6.13_4/include/tcl-tk/X11/Xlib.h:1053:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
1053 | typedef void (*XIMProc)();
| ^
| void
9 warnings generated.
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Metadata
Metadata
Assignees
Labels
buildThe build process and cross-buildThe build process and cross-buildtopic-tkintertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error