[ovs-git] [openvswitch/ovs] 343dc0: sparse: Avoid warnings compiling stream-ssl.c.

GitHub noreply at github.com
Thu May 18 22:20:03 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 343dc061451223d4ac813c16651fd27a272a5802
      https://github.com/openvswitch/ovs/commit/343dc061451223d4ac813c16651fd27a272a5802
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M lib/dhparams.h

  Log Message:
  -----------
  sparse: Avoid warnings compiling stream-ssl.c.

This change avoids the following "sparse" warnings:

/usr/include/inttypes.h:105:10: warning: preprocessor token PRIu64 redefined
/usr/include/openssl/e_os2.h:275:12: this was the original definition

With this change, the build is again "sparse" clean.

I did not look into the details of this particular issue.  However, the
upshot is that including <inttypes.h> before any OpenSSL header avoids the
warning and the opposite order provokes it.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Darrell Ball <dlu998 at gmail.com>




More information about the git mailing list