[MacPorts] #71907: corkscrew: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] (was: corkscrew fails to install)

MacPorts noreply at macports.org
Thu Jan 23 02:08:57 UTC 2025


#71907: corkscrew: error: type specifier missing, defaults to 'int'; ISO C99 and
later do not support implicit int [-Wimplicit-int]
------------------------+----------------------
  Reporter:  langerma   |      Owner:  Gminfly
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  corkscrew  |
------------------------+----------------------
Description changed by ryandesign:

Old description:

> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:556: checking for a BSD compatible install
> configure:609: checking whether build environment is sane
> configure:666: checking whether make sets ${MAKE}
> configure:712: checking for working aclocal
> configure:725: checking for working autoconf
> configure:738: checking for working automake
> configure:751: checking for working autoheader
> configure:764: checking for working makeinfo
> configure:783: checking for gcc
> configure:896: checking whether the C compiler (/usr/bin/clang -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
> arm64 -L/opt/local/lib -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
> -arch arm64) works
> configure:912: /usr/bin/clang -o conftest -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
> arm64 -I/opt/local/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
> -L/opt/local/lib -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
> -arch arm64 conftest.c  1>&5
> configure:909:1: error: type specifier missing, defaults to 'int'; ISO
> C99 and later do not support implicit int [-Wimplicit-int]
>   909 | main(){return(0);}
>       | ^
>       | int
> 1 error generated.
> configure: failed program was:
>
> #line 907 "configure"
> #include "confdefs.h"
>
> main(){return(0);}

New description:

 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.

 {{{
 configure:556: checking for a BSD compatible install
 configure:609: checking whether build environment is sane
 configure:666: checking whether make sets ${MAKE}
 configure:712: checking for working aclocal
 configure:725: checking for working autoconf
 configure:738: checking for working automake
 configure:751: checking for working autoheader
 configure:764: checking for working makeinfo
 configure:783: checking for gcc
 configure:896: checking whether the C compiler (/usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -arch arm64) works
 configure:912: /usr/bin/clang -o conftest -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -arch arm64 conftest.c  1>&5
 configure:909:1: error: type specifier missing, defaults to 'int'; ISO C99
 and later do not support implicit int [-Wimplicit-int]
   909 | main(){return(0);}
       | ^
       | int
 1 error generated.
 configure: failed program was:

 #line 907 "configure"
 #include "confdefs.h"

 main(){return(0);}
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/71907#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list