<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/618d0363ce349c8a3c80bfa5a6434f52c00234c0">https://github.com/macports/macports-base/commit/618d0363ce349c8a3c80bfa5a6434f52c00234c0</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 618d0363 restrict compiler for C++14 and thread-local storage
</span>618d0363 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 618d0363ce349c8a3c80bfa5a6434f52c00234c0
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Thu Nov 12 20:47:04 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> restrict compiler for C++14 and thread-local storage
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> …by revising approach from macports/macports-base#161
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/61418
</span>---
src/port1.0/portconfigure.tcl | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portconfigure.tcl b/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 54a70be5..bdee62ba 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -903,16 +903,15 @@ proc portconfigure::get_min_command_line {compiler} {
</span> } elseif {${compiler.cxx_standard} >= 2014} {
set min_value [max_version $min_value 602.0.49]
} elseif {${compiler.cxx_standard} >= 2011} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${compiler.thread_local_storage}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # macOS has supported thread-local storage since Mac OS X Lion.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # So __thread (GNU extension) and _Thread_local (C11) could be used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # However, the C++11 keyword was not supported until Xcode 8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (https://developer.apple.com/library/archive/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW127)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (https://developer.apple.com/videos/play/wwdc2016-405/?time=354).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set min_value [max_version $min_value 800.0.38]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set min_value [max_version $min_value 500.2.75]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set min_value [max_version $min_value 500.2.75]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${compiler.cxx_standard} >= 2011 && ${compiler.thread_local_storage}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # macOS has supported thread-local storage since Mac OS X Lion.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # So __thread (GNU extension) and _Thread_local (C11) could be used.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # However, the C++11 keyword was not supported until Xcode 8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (https://developer.apple.com/library/archive/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW127)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (https://developer.apple.com/videos/play/wwdc2016-405/?time=354).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set min_value [max_version $min_value 800.0.38]
</span> }
if {[option compiler.limit_flags] || [option compiler.support_environment_paths]} {
set min_value [max_version $min_value 421.0.57]
</pre><pre style='margin:0'>
</pre>