From a88f38cf10de7c04bf49f599676c03c888dd01e0 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Thu, 26 Sep 2013 10:58:07 +0100 Subject: 'gtk2_ardour (msvc)' - Some changes needed before anything at all will compile For the most part, the compilation problems are caused by lines such as:- WM::Proxy theme_manager; Before MSVC will compile the above it needs to know that the specified object type contains an appropriate (i.e. publicly available) default c'tor. Therefore the corresponding header file needs to get #included, rather than just declaring that type to be a class (whilst all classes have a default c'tor, it needn't necessarily be public). The remaining changes are mostly minor. This commit should be tested ASAP to make sure it doesn't upset the other compilers. --- gtk2_ardour/rc_option_editor.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour/rc_option_editor.h') diff --git a/gtk2_ardour/rc_option_editor.h b/gtk2_ardour/rc_option_editor.h index 7b9b29c3ff..879a9c4464 100644 --- a/gtk2_ardour/rc_option_editor.h +++ b/gtk2_ardour/rc_option_editor.h @@ -17,6 +17,9 @@ */ +#ifndef __gtk_ardour_rc_option_editor_h__ +#define __gtk_ardour_rc_option_editor_h__ + #include "option_editor.h" #include "visibility_group.h" @@ -54,3 +57,5 @@ private: PBD::ScopedConnection parameter_change_connection; }; + +#endif /* __gtk_ardour_rc_option_editor_h__ */ -- cgit v1.2.3