Open williamtu opened 3 years ago
[36/118] Compiling C object lib/libopenvswitch.a.p/daemon-windows.c.obj FAILED: lib/libopenvswitch.a.p/daemon-windows.c.obj "clang" "-Ilib\libopenvswitch.a.p" "-Ilib" "-I..\lib" "-I." "-I.." "-Iinclude\openflow" "-I..\include\openflow" "-Iinclude\openvswitch" "-I..\include\openvsw itch" "-I..\include\windows" "-Iinclude" "-I..\include" "-I..\datapath-windows\include" "-IC:\PTHREADS-BUILT\include" "-Xclang" "-fcolor-diagnostics" "-pipe" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-g" "-Wthread-safety" "-Wno-microsoft-enum-forward-reference" "-Wno-unused-function" "-Wno-sometimes-unini tialized" "-Wno-format" "-Wno-pointer-sign" "-Wno-incompatible-pointer-types" "-Werror" "-dM" "-U_MSC_VER" "-D_TIMESPEC_DEFINED" "-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS" "-D_CRT_SECURE_NO_DEPRECATE" -MD -MQ lib/libopenvswitch.a.p/daemon-windows.c.obj -MF "lib\libopenvswitch.a.p\daemon-windows.c.obj .d" -o lib/libopenvswitch.a.p/daemon-windows.c.obj "-c" ../lib/daemon-windows.c ../lib/daemon-windows.c:349:20: error: cast to 'HANDLE' (aka 'void *') from smaller integer type 'int' [-Werror,-Wint-to-void-pointer-cast] write_handle = (HANDLE) atoi(pipe_handle); ^~~~~~ 1 error generated.
[36/118] Compiling C object lib/libopenvswitch.a.p/daemon-windows.c.obj FAILED: lib/libopenvswitch.a.p/daemon-windows.c.obj "clang" "-Ilib\libopenvswitch.a.p" "-Ilib" "-I..\lib" "-I." "-I.." "-Iinclude\openflow" "-I..\include\openflow" "-Iinclude\openvswitch" "-I..\include\openvsw itch" "-I..\include\windows" "-Iinclude" "-I..\include" "-I..\datapath-windows\include" "-IC:\PTHREADS-BUILT\include" "-Xclang" "-fcolor-diagnostics" "-pipe" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-g" "-Wthread-safety" "-Wno-microsoft-enum-forward-reference" "-Wno-unused-function" "-Wno-sometimes-unini tialized" "-Wno-format" "-Wno-pointer-sign" "-Wno-incompatible-pointer-types" "-Werror" "-dM" "-U_MSC_VER" "-D_TIMESPEC_DEFINED" "-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS" "-D_CRT_SECURE_NO_DEPRECATE" -MD -MQ lib/libopenvswitch.a.p/daemon-windows.c.obj -MF "lib\libopenvswitch.a.p\daemon-windows.c.obj .d" -o lib/libopenvswitch.a.p/daemon-windows.c.obj "-c" ../lib/daemon-windows.c ../lib/daemon-windows.c:349:20: error: cast to 'HANDLE' (aka 'void *') from smaller integer type 'int' [-Werror,-Wint-to-void-pointer-cast] write_handle = (HANDLE) atoi(pipe_handle); ^
~~~~~1 error generated.