smadaminov / ovs-dpdk-meson-issues

VMware Summer 2021
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Error seen is in escaping Windows paths vs. Unix paths #60

Open ua1422 opened 3 years ago

ua1422 commented 3 years ago

"clang" "-Ilib\libopenvswitch.a.p" "-Ilib" "-I..\lib" "-I." "-I.." "-Iinclude" "-I..\include" "-I..\include\windows" "-I..\datapath-windows\include" "-IC:\pthreads\pthreads4w_source" "-IC:\pthreads\pthreads4w_source\include" "-fcolor-diagnostics" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-O3" "-Wstrict-prototypes" "-Wall" "-Wextra" "-Wno-sign-compare" "-Wpointer-arith" "-Wformat" "-Wformat-security" "-Wswitch-enum" "-Wunused-parameter" "-Wbad-function-cast" "-Wcast-align" "-Wstrict-prototypes" "-Wold-style-definition" "-Wmissing-prototypes" "-Wmissing-field-initializers" "-fno-strict-aliasing" "-Wswitch-bool" "-Wlogical-not-parentheses" "-Wsizeof-array-argument" "-Wshift-negative-value" "-Wshadow" "-Wno-null-pointer-arithmetic" -MD -MQ "lib/libopenvswitch.a.p/CUsers_Usman Ansari_source_ovs_build_dirs.c.obj" -MF "lib\libopenvswitch.a.p\C__Users_Usman Ansari_source_ovs_build_dirs.c.obj.d" -o "lib/libopenvswitch.a.p/CUsers_Usman Ansari_source_ovs_build_dirs.c.obj" "-c" "C:/Users/Usman Ansari/source/ovs/build/dirs.c" C:/Users/Usman Ansari/source/ovs/build/dirs.c:2:12: error: \U used with no following hex digits

line 2 "C:\Users\Usman Ansari\source\ovs/lib/dirs.c.in.meson"

       ^~

C:/Users/Usman Ansari/source/ovs/build/dirs.c:2:18: error: \U used with no following hex digits

line 2 "C:\Users\Usman Ansari\source\ovs/lib/dirs.c.in.meson"

             ^~

C:/Users/Usman Ansari/source/ovs/build/dirs.c:2:31: warning: unknown escape sequence '\s' [-Wunknown-escape-sequence]

line 2 "C:\Users\Usman Ansari\source\ovs/lib/dirs.c.in.meson"

                          ^~

C:/Users/Usman Ansari/source/ovs/build/dirs.c:2:38: warning: unknown escape sequence '\o' [-Wunknown-escape-sequence]

line 2 "C:\Users\Usman Ansari\source\ovs/lib/dirs.c.in.meson"