<div dir="ltr">If you change "enum" to "enum class" I think it will work (IANALL but I think it's even more correct).  But if what you've done works, then that should be fine.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 23, 2015 at 1:50 PM Enrico Granata via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org">lldb-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: enrico<br>
Date: Wed Sep 23 15:49:15 2015<br>
New Revision: 248429<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=248429&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=248429&view=rev</a><br>
Log:<br>
The Visual Studio compiler does not like this C-ism when 'enum class'es are involved<br>
<br>
<br>
Modified:<br>
    lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h<br>
<br>
Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h?rev=248429&r1=248428&r2=248429&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h?rev=248429&r1=248428&r2=248429&view=diff</a><br>
==============================================================================<br>
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h (original)<br>
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h Wed Sep 23 15:49:15 2015<br>
@@ -105,7 +105,7 @@ protected:<br>
     static bool<br>
     AppleIsModuleObjCLibrary (const lldb::ModuleSP &module_sp);<br>
<br>
-    static enum ObjCRuntimeVersions<br>
+    static ObjCRuntimeVersions<br>
     GetObjCVersion (Process *process, lldb::ModuleSP &objc_module_sp);<br>
<br>
     void<br>
<br>
<br>
_______________________________________________<br>
lldb-commits mailing list<br>
<a href="mailto:lldb-commits@lists.llvm.org" target="_blank">lldb-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits</a><br>
</blockquote></div>