<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/296ec87bb8fe8c5811e29cc0d199e6cf832b0d94">https://github.com/macports/macports-base/commit/296ec87bb8fe8c5811e29cc0d199e6cf832b0d94</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 296ec87bb8fe8c5811e29cc0d199e6cf832b0d94
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jun 26 06:49:41 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> Require clang >= 500 for C11
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Although some C11 support was in clang 318 (3.1), it didn't support
</span><span style='display:block; white-space:pre;color:#404040;'> _Noreturn until clang 500 (3.3).
</span>---
src/port1.0/portconfigure.tcl | 6 ++++--
1 file changed, 4 insertions(+), 2 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 44abf81f..68f1cae7 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;'>@@ -770,6 +770,8 @@ proc portconfigure::max_version {verA verB} {
</span> }
#
# https://releases.llvm.org/3.1/docs/ClangReleaseNotes.html#cchanges
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# _Noreturn implemented in clang 3.3.0:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/llvm/llvm-project/commit/debc59d1f360b1f7a041de72c02d76ed131370c6
</span> # https://gcc.gnu.org/c99status.html
# https://gcc.gnu.org/wiki/C11Status
# https://trac.macports.org/wiki/XcodeVersionInfo
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -778,7 +780,7 @@ proc portconfigure::max_version {verA verB} {
</span> #|------------------------------------------------------------------|
#| 1989 (C89) | - | - | - | - |
#| 1999 (C99) | - | - | - | 4.0 |
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#| 2011 (C11) | 3.1 | 318.0.61 | 4.3 | 4.9 |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#| 2011 (C11) | 3.3 | 500.2.75 | 5.0 | 4.9 |
</span> #--------------------------------------------------------------------
#
# https://clang.llvm.org/cxx_status.html
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -847,7 +849,7 @@ proc portconfigure::get_min_command_line {compiler} {
</span> return none
}
if {${compiler.c_standard} >= 2011} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set min_value [max_version $min_value 318.0.61]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set min_value [max_version $min_value 500.2.75]
</span> }
if {${compiler.cxx_standard} >= 2017} {
set min_value [max_version $min_value 902.0.39.1]
</pre><pre style='margin:0'>
</pre>