When building open-vm-tools for Ubuntu 16.10, we encountered a build error:
command line option '-std=c++11' is valid for C++/ObjC++ but not for C [-Werror]
I am not sure if this is already addressed in the patches for the Debian package, but to make sure the following patch fixes it:
==== //depot/bora-vmsoft/vmtools-prod/install/Source/services/plugins/dndcp/Makefile.am#5 (text) ====
@@ -22,7 +22,6 @@
libdndcp_la_CPPFLAGS = libdndcp_la_CPPFLAGS += @GTK_CPPFLAGS@ -libdndcp_la_CPPFLAGS += @GTKMM_CPPFLAGS@ libdndcp_la_CPPFLAGS += @PLUGIN_CPPFLAGS@ libdndcp_la_CPPFLAGS += -I$(top_srcdir)/services/plugins/dndcp/dnd libdndcp_la_CPPFLAGS += -I$(top_srcdir)/services/plugins/dndcp/dndGuest @@ -34,6 +33,7 @@ # So, we need to pass these to C++ compilation only. libdndcp_la_CXXFLAGS = libdndcp_la_CXXFLAGS += @SIGCXX_CPPFLAGS@ +libdndcp_la_CXXFLAGS += @GTKMM_CPPFLAGS@
libdndcp_la_LDFLAGS = libdndcp_la_LDFLAGS += @PLUGIN_LDFLAGS@
When building open-vm-tools for Ubuntu 16.10, we encountered a build error:
command line option '-std=c++11' is valid for C++/ObjC++ but not for C [-Werror]
I am not sure if this is already addressed in the patches for the Debian package, but to make sure the following patch fixes it:
==== //depot/ bora-vmsoft/ vmtools- prod/install/ Source/ services/ plugins/ dndcp/Makefile. am#5 (text) ====
@@ -22,7 +22,6 @@
libdndcp_ la_CPPFLAGS = la_CPPFLAGS += @GTK_CPPFLAGS@ la_CPPFLAGS += @GTKMM_CPPFLAGS@ la_CPPFLAGS += @PLUGIN_CPPFLAGS@ la_CPPFLAGS += -I$(top_ srcdir) /services/ plugins/ dndcp/dnd la_CPPFLAGS += -I$(top_ srcdir) /services/ plugins/ dndcp/dndGuest la_CXXFLAGS = la_CXXFLAGS += @SIGCXX_CPPFLAGS@ la_CXXFLAGS += @GTKMM_CPPFLAGS@
libdndcp_
-libdndcp_
libdndcp_
libdndcp_
libdndcp_
@@ -34,6 +33,7 @@
# So, we need to pass these to C++ compilation only.
libdndcp_
libdndcp_
+libdndcp_
libdndcp_ la_LDFLAGS = la_LDFLAGS += @PLUGIN_LDFLAGS@
libdndcp_