* [archer/tromey/python] python3 wchar_t
@ 2015-02-02 22:46 Jan Kratochvil
2015-02-04 16:29 ` Jan Kratochvil
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kratochvil @ 2015-02-02 22:46 UTC (permalink / raw)
To: Phil Muldoon; +Cc: archer
Hi Phil,
for F-22/Rawhide we need to switch to Python3:
https://bugzilla.redhat.com/show_bug.cgi?id=1014549
But on F-21 or F-22:
# yum install python3-devel
$ cd archer-tromey-python
$ CFLAGS= ./configure --with-python=/usr/bin/python3
$ make
./python/python.c: In function ‘run_python_script’:
./python/python.c:1261:28: error: passing argument 2 of ‘PySys_SetArgv’ from incompatible pointer type [-Werror]
PySys_SetArgv (argc - 1, argv + 1);
/* Set up the Python argument vector and evaluate a script. This is
used to implement 'gdb -P'. */
run_python_script (int argc, char **argv)
PySys_SetArgv (argc - 1, argv + 1);
Primarily asking if the Fedora compatibility with 'gdb -P' is still required.
If yes then a patch is welcome or I can also fix that (mbstowcs()).
F-22 GDB will be only in DTS-4.0 (not DTS-3.x) so a backward compatibility for
DTS AFAIK should not be a concern.
Thanks,
Jan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-04 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-02 22:46 [archer/tromey/python] python3 wchar_t Jan Kratochvil
2015-02-04 16:29 ` Jan Kratochvil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).