• Arnaldo Carvalho de Melo's avatar
    perf python: Fix build on 32-bit · f6bbc1da
    Arnaldo Carvalho de Melo authored
    Where there are lots of errors related to python methods receiving
    'char *' for things like file open mode, which break the build, also
    disable strict aliasing and fixup some other warnings. Now builds on
    both 32-bit and 64-bit fedora systems.
    
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Tom Zanussi <tzanussi@gmail.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    f6bbc1da
python.c 24.9 KB