xpra icon
Bug tracker and wiki

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

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

better patch - checks for netbsd

  • 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                if sys.platform.startswith("netbsd"):
     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: