[ovs-dev] [PATCH 00/10] Implicit function declarations on Windows

Alin Serdean aserdean at cloudbasesolutions.com
Mon Feb 6 04:41:40 UTC 2017


This series fixes all current errors when Wimplicit-function-declaration
(C4013) is triggered.

This is a part of the bigger plan to map all the GCC compiler flags to
their cl (Visual Studio compiler) equivalent.

For the original discussion please view:
https://mail.openvswitch.org/pipermail/ovs-dev/2017-February/328450.html

Alin Serdean (10):
  windows: Add definition of getrusage
  windows: add definition of getpid and getcwd
  windows: add includes to daemon-windows
  windows: add forward declaration to dpif-netlink
  windows: fix calls in netlink-socket
  windows: add function definition to poll-loop.h
  windows: add include to stream-windows.c
  windows: return NULL in xreadlink
  use portable getpagesize() in system-stats
  build-windows: cccl fail compilation on Wimplicit-function-declaration

 build-aux/cccl                 |  8 +++++++
 include/windows/sys/resource.h |  4 +++-
 include/windows/unistd.h       |  3 +++
 lib/daemon-windows.c           |  6 +++--
 lib/dpif-netlink.c             |  3 +++
 lib/netlink-socket.c           | 50 ++++++++++++++++++++++--------------------
 lib/poll-loop.h                |  3 ++-
 lib/stream-windows.c           |  3 ++-
 lib/util.c                     |  5 +++++
 vswitchd/system-stats.c        |  2 +-
 10 files changed, 57 insertions(+), 30 deletions(-)

-- 
2.10.2.windows.1


More information about the dev mailing list