[MacPorts] #63667: lighttpd @1.4.60 does not build on PPC Leopard because ‘for’ loop initial declaration used outside C99 mode
MacPorts
noreply at macports.org
Sun Oct 24 16:56:02 UTC 2021
#63667: lighttpd @1.4.60 does not build on PPC Leopard because ‘for’ loop initial
declaration used outside C99 mode
-----------------------+----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: leopard | Port: lighttpd
-----------------------+----------------------
{{{
make[3]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_lighttpd/lighttpd/work/lighttpd-1.4.60/src'
depbase=`echo t/test_array.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H
-DLIBRARY_DIR="\"/opt/local/lib\"" -DSBIN_DIR="\"/opt/local/sbin\"" -I.
-I.. -I/opt/local/include -I/opt/local/include/LegacySupport
-D_REENTRANT -I/opt/local/include -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGE_FILES -pipe -Os
-I/opt/local/include/LegacySupport -arch ppc -pipe -Wall -W -Wshadow
-pedantic -MT t/test_array.o -MD -MP -MF $depbase.Tpo -c -o t/test_array.o
t/test_array.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo array.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H
-DLIBRARY_DIR="\"/opt/local/lib\"" -DSBIN_DIR="\"/opt/local/sbin\"" -I.
-I.. -I/opt/local/include -I/opt/local/include/LegacySupport
-D_REENTRANT -I/opt/local/include -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGE_FILES -pipe -Os
-I/opt/local/include/LegacySupport -arch ppc -pipe -Wall -W -Wshadow
-pedantic -MT array.o -MD -MP -MF $depbase.Tpo -c -o array.o array.c &&\
mv -f $depbase.Tpo $depbase.Po
array.c: In function ‘array_free_data’:
array.c:138: warning: ISO C90 forbids mixed declarations and code
array.c:140: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_copy_array’:
array.c:155: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_reset_data_strings’:
array.c:169: warning: ISO C90 forbids mixed declarations and code
array.c:172: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_caseless_compare’:
array.c:197: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_extract_element_klen’:
array.c:308: warning: ISO C90 forbids mixed declarations and code
array.c: In function ‘array_insert_data_at_pos’:
array.c:366: warning: ISO C90 forbids mixed declarations and code
array.c:371: warning: ISO C90 forbids mixed declarations and code
array.c: In function ‘array_get_buf_ptr_ext’:
array.c:400: warning: ISO C90 forbids mixed declarations and code
array.c: In function ‘array_get_int_ptr’:
array.c:411: warning: ISO C90 forbids mixed declarations and code
array.c: In function ‘array_get_buf_ptr’:
array.c:421: warning: ISO C90 forbids mixed declarations and code
array.c: In function ‘array_find_or_insert’:
array.c:445: warning: ISO C90 forbids mixed declarations and code
array.c: In function ‘array_replace’:
array.c:457: warning: ISO C90 forbids mixed declarations and code
array.c:459: warning: ISO C90 forbids mixed declarations and code
array.c:463: warning: ISO C90 forbids mixed declarations and code
array.c: In function ‘array_is_vlist’:
array.c:484: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_is_kvany’:
array.c:492: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_is_kvarray’:
array.c:500: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_is_kvstring’:
array.c:508: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_match_key_prefix_klen’:
array.c:524: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_match_key_prefix_nc_klen’:
array.c:536: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_match_value_prefix’:
array.c:565: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_match_value_prefix_nc’:
array.c:579: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_match_key_suffix’:
array.c:594: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_match_key_suffix_nc’:
array.c:609: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_match_value_suffix’:
array.c:624: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_match_value_suffix_nc’:
array.c:639: error: ‘for’ loop initial declaration used outside C99 mode
array.c: In function ‘array_match_path_or_ext’:
array.c:653: error: ‘for’ loop initial declaration used outside C99 mode
make[3]: *** [array.o] Error 1
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_lighttpd/lighttpd/work/lighttpd-1.4.60/src'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63667>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list