xpra icon
Bug tracker and wiki

Ticket #1080: silence-cython-strict-aliasing-warning.patch

File silence-cython-strict-aliasing-warning.patch, 686 bytes (added by Antoine Martin, 4 years ago)

silence the problematic warnings as per cython ticket

  • setup.py

     
    652652                        #/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
    653653                        #"-Wno-error=strict-prototypes",
    654654                        ]
     655            elif get_gcc_version()>=[5, 2] and not PYTHON3:
     656                #see: http://trac.cython.org/ticket/395
     657                eifd = ["-fno-strict-aliasing"]
    655658            else:
    656659                #older versions of OSX ship an old gcc,
    657660                #not much we can do with this: