From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10151 invoked by alias); 2 Feb 2015 22:46:43 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 9255 invoked by uid 89); 2 Feb 2015 22:46:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Date: Mon, 02 Feb 2015 22:46:00 -0000 From: Jan Kratochvil To: Phil Muldoon Cc: archer@sourceware.org Subject: [archer/tromey/python] python3 wchar_t Message-ID: <20150202224636.GA27511@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-q1/txt/msg00000.txt.bz2 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