<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-05-06 23:18 GMT+02:00 Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-05-06 22:43 GMT+02:00 Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div dir="auto"><div>Hi Nicolas,<br><br></div><span class=""><div><br>On May 6, 2016, at 12:42 PM, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><div dir="ltr"><div><div><div>Strange...<br></div>I&#39;ve set the -fobjc-arc in build.macos32x86/common/Makefile.flags for months<br>(along with same .m corrections as John) <br>and it looks like working...<br></div>(at least clang does not bark).<br></div></div></div></blockquote><div><br></div></span>Two questions, a) what version of clang do you have installed?  b) why didn&#39;t you try and push back the changes?<div><br></div></div></blockquote><div>Hi Eliot,<br><br></div><div>a) I update Xcode regularly but allways apply xcodelegacy immediately after each upgrade<br>    (<a href="https://github.com/devernay/xcodelegacy" target="_blank">https://github.com/devernay/xcodelegacy</a>)<br><br>clang --version<br>Apple LLVM version 7.3.0 (clang-703.0.31)<br>Target: x86_64-apple-darwin15.4.0<br>Thread model: posix<br>InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin<br><br></div><div>b) Nostalghia?<br>  Precisely because it breaks compatibility with OSX 10.6.<br></div><div> ( I think I reported this in a vm-dev thread )<br></div><div>  From time to time, I use an old MacMini with snow leopard that I won&#39;t upgrade.<br><br></div><div>  a Better reason:<br></div><div>  The problems appeared after an upgrade of Xcode.<br></div><div>  I&#39;m enough an expert to understand C compiler errors, and search for a quick fix on the internet.<br></div><div>  I&#39;m not enough an expert of Mac to analyze the full impact of these changes...<br></div><div><br></div></div></div></div></blockquote><div>Note that it would be much easier to publish my code on github without fear of breaking the head revision.<br></div><div>It would give a chance for experts to examine the diff and avoid complete redo...<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div></div><div>Note that<span style="background-color:rgba(255,255,255,0)"> -fobjc-arc appeared (so John tells me) in 7.3.  I&#39;m still using 6.0 and 7.0.</span></div></div></blockquote><div><br></div><div> Yes, fixing for one, breaking for another is not very fair. <br></div></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> <br></div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><blockquote type="cite"><div><div dir="ltr"><div><br></div>Nicolas<br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-05 21:54 GMT+02:00 John McIntosh <span dir="ltr">&lt;<a href="mailto:johnmci@smalltalkconsulting.com" target="_blank">johnmci@smalltalkconsulting.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div dir="ltr">ARC is not supported by the os-x 32bit legacy objective-C runtime kernel. </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 5, 2016 at 12:23 PM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div dir="ltr">Hi John,<div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 5, 2016 at 10:57 AM,  <span dir="ltr">&lt;<a href="mailto:commits@squeakvm.org" target="_blank">commits@squeakvm.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Revision: 3697<br>
Author:   johnmci<br>
Date:     2016-05-05 10:57:28 -0700 (Thu, 05 May 2016)<br>
Log Message:<br>
-----------<br>
Turn ARC On for 64bit compiles, don&#39;t make MIDI, fix various issues with bridge and windowIndex for ARC, fix parseArgument data type warning<br></blockquote><div><br></div><div>Curious (ok, ignorant).  Why use ARC for 64-bits but weak for 32-bits?  WOup;don&#39;t it be better to go with one approach for both?  If ARC is the future why not change the 32-bit compile to ARC too?</div><div> </div><div> [snip]</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Modified: branches/Cog/build.macos32x86/common/Makefile.flags<br>
===================================================================<br>
--- branches/Cog/build.macos32x86/common/Makefile.flags 2016-05-05 17:18:10 UTC (rev 3696)<br>
+++ branches/Cog/build.macos32x86/common/Makefile.flags 2016-05-05 17:57:28 UTC (rev 3697)<br>
@@ -9,7 +9,7 @@<br>
 SDKs:=MacOSX10.12.sdk MacOSX10.11.sdk MacOSX10.10.sdk MacOSX10.9.sdk<br>
 SDK:=$(firstword $(realpath $(addprefix $(SDKsDIR)/, $(SDKs))))<br>
 TARGET_ARCH:=i386<br>
-TARGET_VERSION_MIN:=10.6<br>
+TARGET_VERSION_MIN:=10.7<br>
<br>
 CFLAGS:=$(CFLAGS) -DBUILD_FOR_OSX=1 \<br>
                -arch $(TARGET_ARCH) \<br>
@@ -17,6 +17,7 @@<br>
                        -fvisibility=default -fwrapv \<br>
                        -fmacro-backtrace-limit=0 -fdiagnostics-show-note-include-stack \<br>
                        -fmessage-length=0 -fpascal-strings -fasm-blocks -fstrict-aliasing \<br>
+                       -fobjc-weak \<br>
                -isysroot $(SDK) \<br>
                -include $(PLATDIR)/iOS/vm/SqueakPureObjc_Prefix.pch</blockquote><div>[snip]</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Modified: branches/Cog/build.macos64x64/common/Makefile.flags<br>
===================================================================<br>
--- branches/Cog/build.macos64x64/common/Makefile.flags 2016-05-05 17:18:10 UTC (rev 3696)<br>
+++ branches/Cog/build.macos64x64/common/Makefile.flags 2016-05-05 17:57:28 UTC (rev 3697)<br>
@@ -9,7 +9,7 @@<br>
 SDKs:=MacOSX10.12.sdk MacOSX10.11.sdk MacOSX10.10.sdk MacOSX10.9.sdk<br>
 SDK:=$(firstword $(realpath $(addprefix $(SDKsDIR)/, $(SDKs))))<br>
 TARGET_ARCH:=x86_64<br>
-TARGET_VERSION_MIN:=10.6<br>
+TARGET_VERSION_MIN:=10.7<br>
<br>
 CFLAGS:=$(CFLAGS) -DBUILD_FOR_OSX=1 \<br>
                -arch $(TARGET_ARCH) \<br>
@@ -17,6 +17,7 @@<br>
                        -fvisibility=default -fwrapv \<br>
                        -fmacro-backtrace-limit=0 -fdiagnostics-show-note-include-stack \<br>
                        -fmessage-length=0 -fpascal-strings -fasm-blocks -fstrict-aliasing \<br>
+                       -fobjc-arc \<br>
                -isysroot $(SDK) \<br>
                -include $(PLATDIR)/iOS/vm/SqueakPureObjc_Prefix.pch<br></blockquote><div>[snip] </div></div><br><div><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr">===========================================================================<br>John M. McIntosh. Corporate Smalltalk Consulting Ltd <a href="https://www.linkedin.com/in/smalltalk" target="_blank">https://www.linkedin.com/in/smalltalk</a><br>===========================================================================<br></div></div></div></div>
</div>
<br></blockquote></div><br></div></div></div></div></div></div>
</div></blockquote></div></div><br></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>