Skip to content
  • Andrew Price's avatar
    Fix client build on Fedora 24 · ec8ad16a
    Andrew Price authored
    js.c:17:32: error: option ‘-Winvalid-offsetof’ is valid for C++/ObjC++ but not for C [-Werror=pragmas]
     #pragma GCC diagnostic ignored "-Winvalid-offsetof"
                                    ^~~~~~~~~~~~~~~~~~~~
    js.c:21:32: error: option ‘-Winvalid-offsetof’ is valid for C++/ObjC++ but not for C [-Werror=pragmas]
     #pragma GCC diagnostic warning "-Winvalid-offsetof"
                                    ^~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
    ../../Makefile.common:104: recipe for target 'js.o' failed
    ec8ad16a
Loading