mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
Issue #2512 - Part 2 - Fix autoconf basic compiler test.
GCC 14 and Clang 16 changed implicit-int from warning to error. Causing the compiler test from 1996 to fail in C99 mode.
This commit is contained in:
parent
bb05f81b14
commit
0d784d5a50
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ AC_DEFUN(AC_PROG_CC_WORKS,
|
||||||
[AC_MSG_CHECKING([whether the C compiler ($CC $CFLAGS $LDFLAGS) works])
|
[AC_MSG_CHECKING([whether the C compiler ($CC $CFLAGS $LDFLAGS) works])
|
||||||
AC_LANG_SAVE
|
AC_LANG_SAVE
|
||||||
AC_LANG_C
|
AC_LANG_C
|
||||||
AC_TRY_COMPILER([main(){return(0);}], ac_cv_prog_cc_works, ac_cv_prog_cc_cross)
|
AC_TRY_COMPILER([int main(){return(0);}], ac_cv_prog_cc_works, ac_cv_prog_cc_cross)
|
||||||
AC_LANG_RESTORE
|
AC_LANG_RESTORE
|
||||||
AC_MSG_RESULT($ac_cv_prog_cc_works)
|
AC_MSG_RESULT($ac_cv_prog_cc_works)
|
||||||
if test $ac_cv_prog_cc_works = no; then
|
if test $ac_cv_prog_cc_works = no; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue