Ticket #20367: 010-disable_pedantic_on_linux_with_ulibc++.patch

File 010-disable_pedantic_on_linux_with_ulibc++.patch, 491 bytes (added by lxrfvg, 2 years ago)
  • configure.ac

    a b case "${host_os}" in 
    147147    *linux*) 
    148148        # Define on Linux to enable all library features. Define if using a gnu compiler 
    149149        if test "x$GXX" = "xyes"; then 
    150             CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS" 
     150            CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS -Wno-long-long" 
    151151        fi 
     152        libzmq_pedantic="no" 
     153        libzmq_werror="no" 
    152154        AC_DEFINE(ZMQ_HAVE_LINUX, 1, [Have Linux OS]) 
    153155        libzmq_on_linux="yes"