Opened 16 months ago

Closed 16 months ago

Last modified 12 months ago

#66614 closed defect (fixed)

libidn2-2.3.4: Configuration logfiles contain indications of -Wimplicit-function-declaration

Reported by: d-lamb (Derek Lamb) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc:
Port: libidn2

Description

$ sudo port -s install gcc12   

<...snip...>

--->  Fetching distfiles for libidn2
--->  Attempting to fetch libidn2-2.3.4.tar.gz from https://distfiles.macports.org/libidn2
--->  Verifying checksums for libidn2                                           
--->  Extracting libidn2
--->  Configuring libidn2
Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled:
  alignof: found in libidn2-2.3.4/config.log
--->  Building libidn2
--->  Staging libidn2 into destroot                      
--->  Installing libidn2 @2.3.4_0                        
--->  Activating libidn2 @2.3.4_0
--->  Cleaning libidn2

<...snip...>

Note the -s flag to install gcc12 from source.

See WimplicitFunctionDeclaration.

I had just upgrade from macOS Monterey to Ventura 13.1, and had reinstalled MacPorts, and was reinstalling ports.

Change History (4)

comment:1 Changed 16 months ago by jmroot (Joshua Root)

Owner: set to Schamschula
Status: newassigned

comment:2 Changed 16 months ago by Marius Schamschula <mschamschula@…>

Resolution: fixed
Status: assignedclosed

In 170668e949f6dbb0f6e7bb099c50fba5e74d922e/macports-ports (master):

libidn2: fix implicit function declaration

Closes: #66614

comment:3 Changed 14 months ago by evanmiller (Evan Miller)

Requiring C++11 seems to be overkill here. The libidn2 code base is C99.

comment:4 Changed 12 months ago by catap (Kirill A. Korinsky)

In 3ab6e240b0d0ca2cfdfac7ac2fc80823bdfe2d97/macports-ports (master):

libidn2: doesn't really need C++-2011

This requirements dramatically increase a number of compilers which is
required to compile curl -http2 which is used by guys like me with
bootstrap MacPorts which is used to bring fresh libcurl.

See: #66614

Note: See TracTickets for help on using tickets.