<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/e92d600c90f05f1f1837a8068214d21d18b224b6">https://github.com/macports/macports-base/commit/e92d600c90f05f1f1837a8068214d21d18b224b6</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 e92d600c Also check for implicit library functions
</span>e92d600c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e92d600c90f05f1f1837a8068214d21d18b224b6
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Dec 6 22:25:35 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> Also check for implicit library functions
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: #217
</span>---
src/port1.0/portconfigure.tcl | 6 +++---
1 file changed, 3 insertions(+), 3 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 56bfaa0f..e79fb55f 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;'>@@ -1751,7 +1751,7 @@ proc portconfigure::check_implicit_function_declarations {} {
</span>
if {![catch {set result [exec -- {*}$args]}]} {
foreach line [split $result "\n"] {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[regexp -- "implicit declaration of function '(\[^']+)'" $line -> function]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[regexp -- "(?:implicit declaration of function|implicitly declaring library function) '(\[^']+)'" $line -> function]} {
</span> set is_whitelisted no
foreach whitelisted ${configure.checks.implicit_function_declaration.whitelist} {
if {[string match -nocase $whitelisted $function]} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1762,7 +1762,7 @@ proc portconfigure::check_implicit_function_declarations {} {
</span> if {!$is_whitelisted} {
::struct::set include undeclared_functions($function) $file
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_debug [format "Ignoring implicit declaration of function '%s', because it is whitelisted" $function]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_debug [format "Ignoring implicit declaration of function '%s' because it is whitelisted" $function]
</span> }
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1771,7 +1771,7 @@ proc portconfigure::check_implicit_function_declarations {} {
</span> }
if {[array size undeclared_functions] > 0} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_warn "Configuration logfiles contain indications of -Wimplicit-function-declaration, check that features were not accidentially disabled:"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentially disabled:"
</span> foreach {function files} [array get undeclared_functions] {
ui_msg [format " %s: found in %s" $function [join $files ", "]]
}
</pre><pre style='margin:0'>
</pre>