[MacPorts] WimplicitFunctionDeclaration modified

MacPorts Wiki noreply at macports.org
Sun Apr 20 16:54:33 UTC 2025


Page "WimplicitFunctionDeclaration" was changed by ryandesign
Diff URL: <https://trac.macports.org/wiki/WimplicitFunctionDeclaration?action=diff&version=15>
Revision 15
Comment: Suggest adding URL comment above strchr whitelist
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: WimplicitFunctionDeclaration
=========================================================================
--- WimplicitFunctionDeclaration (version: 14)
+++ WimplicitFunctionDeclaration (version: 15)
@@ -246,6 +246,7 @@
 If a port generates or regenerates its configure script using `autoconf` or `autoreconf` (or a script like `autogen.sh` that calls them), or if the project's existing configure script was generated by a recent enough version of autoconf, verify by reading the config.log whether this is the only place where `strchr` is declared implicitly. (If there are any other instances, fix them as usual.) Then suppress the remaining warning by adding to the Portfile:
 
 {{{
+# https://trac.macports.org/wiki/WimplicitFunctionDeclaration#strchr
 configure.checks.implicit_function_declaration.whitelist-append strchr
 }}}
 
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/WimplicitFunctionDeclaration>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'WimplicitFunctionDeclaration' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list