Changes between Version 193 and Version 194 of FAQ


Ignore:
Timestamp:
Jan 24, 2022, 4:32:37 AM (2 years ago)
Author:
JDLH (Jim DeLaHunt)
Comment:

+section Why am I getting a message, "Warning… indications of -Wimplicit-function-declaration"?

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v193 v194  
    294294After playing whack-a-mole for a while trying to get stuff to coexist, MacPorts has given up and acknowledged that the only thing that works reliably is to go with what is compatible with Apple libraries; that means only older LLVM/`clang` that uses pre-C++11 interfaces (provided by `libstdc++` or an Apple-sourced compatible `libc++`) on 10.8 and earlier and only newer LLVM/`clang` that uses C++11 interfaces (provided by modern `libc++` but not the `libc++` shipped on older OS X) on 10.9 and later. Any other combination ''might'' work if you are lucky, but is not guaranteed in any way and has led to many port build failures, and MacPorts no longer attempts to support it.
    295295
     296=== Why am I getting a message, "Warning… indications of -Wimplicit-function-declaration"? ===
     297
     298When you build a port, you may see a message like, "Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled" in the configuration log.
     299
     300This is a warning for the upstream developers of the port's source code. Each occurrence must be investigated and handled individually. As the user of a port, we encourage you to file bug reports about each such message in each port where you observe it. [https://guide.macports.org/#project.tickets Filing a MacPorts ticket] against the port, including the specific message you see, is a helpful first step. This lets the other people who use and maintain the port track the problem. Diagnosing what the port's configuration code is trying to do is even more helpful.  Most helpful of all is to file a bug report against the upstream project which supplies the source code. That is where the problem needs to be fixed ultimately.  Then the fix will flow downstream to MacPorts. The problem will be solved. The message will no longer appear.
     301
     302See WimplicitFunctionDeclaration for more detailed information about this message, its causes, and what to do about it.
     303
     304 
     305
    296306== Portfile Development and Maintenance Questions ==
    297307