<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>On 2022-01-26 02:59, Joshua Root wrote:<br>
</p>
<blockquote type="cite"
cite="mid:3c1b53af-4b66-0db7-380e-13dfc6f3835f@macports.org">…In
any case, we maintain lists of functions that are known not to
exist on each macOS version, so the warning can be suppressed.
They are in the ports tree here:
<a class="moz-txt-link-rfc2396E" href="https://github.com/macports/macports-ports/tree/master/_resources/port1.0/checks/implicit_function_declaration"><https://github.com/macports/macports-ports/tree/master/_resources/port1.0/checks/implicit_function_declaration></a>…<br>
</blockquote>
<p>I have filed Pull Request #13804 ''64550 Add 'at_quick_exit' to
10.14 whitelist''
<a class="moz-txt-link-rfc2396E" href="https://github.com/macports/macports-ports/pull/13807"><https://github.com/macports/macports-ports/pull/13807></a> to,
as the title says, add function name 'at_quick_exit' to the
macosx10.14 implicit declaration whitelist. I would appreciate
attention to that PR when it is convenient for the right person.<br>
</p>
<p>I imagine that this same function name should be added to
whitelists for other SDK versions. But I don't know how to test
and confirm this. Is there a process for checking whitelist
entries across all SDK versions? Say, via the buildbots?</p>
<p>Once a whitelist is modified, when does a MacPorts installation
benefit from that change? Immediately, because the implicit
function declaration code reaches back to MacPorts to get the most
recent whitelists? After the next port selfupdate? After the next
port base code new version release?<br>
</p>
<p>Also, I could not find documentation on the whitelist process, or
on the Portfile declaration
"configure.checks.implicit_function_declaration.whitelist-append".</p>
<p>So I added two new sections to the Wiki page <b>WimplicitFunctionDeclaration</b>:</p>
<p><b>Add names to implicit declaration whitelist</b>
<a class="moz-txt-link-rfc2396E" href="https://trac.macports.org/wiki/WimplicitFunctionDeclaration#Addnamestoimplicitdeclarationwhitelist"><https://trac.macports.org/wiki/WimplicitFunctionDeclaration#Addnamestoimplicitdeclarationwhitelist></a><br>
</p>
<p><b>Add names to whitelist via Portfile</b> <a class="moz-txt-link-rfc2396E" href="https://trac.macports.org/wiki/WimplicitFunctionDeclaration#AddnamestowhitelistviaPortfile"><https://trac.macports.org/wiki/WimplicitFunctionDeclaration#AddnamestowhitelistviaPortfile></a><br>
</p>
<p>I wrote something which seemed plausible to me, in the belief
that flawed documentation is better than no documentation. But I
wrote largely without direct knowledge of how whitelist work, and
how we should use them. Thus I would appreciate review of these
sections of the Wiki page in particular.<br>
</p>
Best regards,<br>
—Jim DeLaHunt, Vancouver, Canada<br>
<br>
</body>
</html>