[MacPorts] #70170: ctpv fails to build: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
MacPorts
noreply at macports.org
Wed Jun 5 17:02:00 UTC 2024
#70170: ctpv fails to build: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
--------------------------+-------------------------
Reporter: barracuda156 | Owner: suhailskhan
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: ctpv
--------------------------+-------------------------
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ctpv/ctpv/work/compwrap/cc/usr/bin/gcc-4.2
-o src/ulist.o src/ulist.c -c -O2 -MMD -Wall -Wextra -Wno-unused-parameter
-Os -arch ppc -I/opt/local/include
In file included from src/preview.h:6,
from src/config.h:4,
from src/config.c:6:
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
In file included from src/config.h:4,
from src/config.c:6:
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/config.c: In function ‘add_preview’:
src/config.c:85: error: ‘for’ loop initial declaration used outside C99
mode
src/config.c:101: warning: implicit declaration of function
‘vectorPreview_append’
src/config.c: In function ‘add_priority’:
src/config.c:112: error: ‘for’ loop initial declaration used outside C99
mode
src/config.c: In function ‘remove_preview’:
src/config.c:130: error: ‘for’ loop initial declaration used outside C99
mode
src/config.c:134: warning: implicit declaration of function
‘vectorPreview_remove’
src/config.c: In function ‘expect’:
src/config.c:164: error: expected ‘)’ before ‘__VA_OPT__’
src/config.c: In function ‘get_option’:
src/config.c:231: error: ‘for’ loop initial declaration used outside C99
mode
src/config.c: In function ‘cmd_set’:
src/config.c:246: error: expected ‘)’ before ‘__VA_OPT__’
src/config.c:265: warning: implicit declaration of function
‘print_int_error__VA_OPT__’
src/config.c:265: error: ‘f’ undeclared (first use in this function)
src/config.c:265: error: (Each undeclared identifier is reported only once
src/config.c:265: error: for each function it appears in.)
src/config.c:265: error: expected ‘)’ before ‘__VA_OPT__’
src/config.c:265: error: called object ‘print_int_error__VA_OPT__
(<erroneous-expression>)’ is not a function
src/config.c: In function ‘cmd_preview’:
src/config.c:282: error: expected ‘)’ before ‘__VA_OPT__’
src/config.c: In function ‘cmd_priority’:
src/config.c:308: error: expected ‘)’ before ‘__VA_OPT__’
src/config.c: In function ‘cmd_remove’:
src/config.c:321: error: expected ‘)’ before ‘__VA_OPT__’
src/config.c: In function ‘command’:
src/config.c:342: error: expected ‘)’ before ‘__VA_OPT__’
src/config.c: In function ‘config_load’:
src/config.c:410: warning: implicit declaration of function ‘__VA_OPT__’
src/config.c:410: error: expected expression before ‘do’
src/config.c:410: error: expected ‘;’ before ‘ret’
src/config.c:413: error: expected ‘)’ before ‘__VA_OPT__’
src/config.c:413: error: called object ‘print_int_error__VA_OPT__(f)’ is
not a function
src/config.c:420: error: expected expression before ‘do’
src/config.c:420: error: expected ‘;’ before ‘ret’
src/config.c:422: error: expected expression before ‘do’
src/config.c:422: error: expected ‘;’ before ‘ret’
make: *** [src/config.o] Error 1
make: *** Waiting for unfinished jobs....
embed.c: In function ‘main’:
embed.c:91: error: ‘for’ loop initial declaration used outside C99 mode
make[1]: *** [embed] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ctpv/ctpv/work/ctpv-1.1/embed'
make: *** [embed/embed] Error 2
src/ulist.c: In function ‘ulist_node_new’:
src/ulist.c:38: warning: implicit declaration of function
‘print_int_error__VA_OPT__’
src/ulist.c:38: error: ‘f’ undeclared (first use in this function)
src/ulist.c:38: error: (Each undeclared identifier is reported only once
src/ulist.c:38: error: for each function it appears in.)
src/ulist.c:38: error: expected ‘)’ before ‘__VA_OPT__’
src/ulist.c:38: error: called object ‘print_int_error__VA_OPT__
(<erroneous-expression>)’ is not a function
src/ulist.c: In function ‘ulist_new’:
src/ulist.c:54: error: ‘f’ undeclared (first use in this function)
src/ulist.c:54: error: expected ‘)’ before ‘__VA_OPT__’
src/ulist.c:54: error: called object ‘print_int_error__VA_OPT__
(<erroneous-expression>)’ is not a function
src/lexer.c: In function ‘peekn_char’:
src/lexer.c:90: warning: implicit declaration of function
‘print_int_error__VA_OPT__’
src/lexer.c:90: error: ‘f’ undeclared (first use in this function)
src/lexer.c:90: error: (Each undeclared identifier is reported only once
src/lexer.c:90: error: for each function it appears in.)
src/lexer.c:90: error: expected ‘)’ before ‘__VA_OPT__’
src/lexer.c:90: error: called object ‘print_int_error__VA_OPT__
(<erroneous-expression>)’ is not a function
src/lexer.c: In function ‘skipn_char’:
src/lexer.c:128: error: ‘for’ loop initial declaration used outside C99
mode
src/lexer.c: In function ‘lexer_init’:
src/lexer.c:152: error: expected ‘)’ before ‘__VA_OPT__’
src/lexer.c:152: error: called object ‘print_int_error__VA_OPT__(f)’ is
not a function
make: *** [src/ulist.o] Error 1
src/lexer.c: In function ‘read_block’:
src/lexer.c:361: error: expected ‘)’ before ‘__VA_OPT__’
src/lexer.c: In function ‘lexer_get_token’:
src/lexer.c:424: error: expected ‘)’ before ‘__VA_OPT__’
src/lexer.c: In function ‘lexer_token_type_str’:
src/lexer.c:455: error: ‘f’ undeclared (first use in this function)
src/lexer.c:455: error: expected ‘)’ before ‘__VA_OPT__’
src/lexer.c:455: error: called object ‘print_int_error__VA_OPT__
(<erroneous-expression>)’ is not a function
In file included from src/preview.h:6,
from src/preview.c:9:
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/vector.h:84: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
In file included from src/preview.c:9:
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.h:21: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.c:18: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.c:18: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.c:18: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.c:18: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.c:18: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.c:18: error: expected ‘;’, ‘,’ or ‘)’ before ‘__VA_OPT__’
src/preview.c: In function ‘previews_init’:
src/preview.c:56: warning: implicit declaration of function
‘print_int_error__VA_OPT__’
src/preview.c:56: error: ‘f’ undeclared (first use in this function)
src/preview.c:56: error: (Each undeclared identifier is reported only once
src/preview.c:56: error: for each function it appears in.)
src/preview.c:56: error: expected ‘)’ before ‘__VA_OPT__’
src/preview.c:56: error: called object ‘print_int_error__VA_OPT__
(<erroneous-expression>)’ is not a function
src/preview.c:60: error: ‘for’ loop initial declaration used outside C99
mode
make: *** [src/lexer.o] Error 1
src/preview.c: In function ‘break_mimetype’:
src/preview.c:83: error: ‘f’ undeclared (first use in this function)
src/preview.c:83: error: expected ‘)’ before ‘__VA_OPT__’
src/preview.c:83: error: called object ‘print_int_error__VA_OPT__
(<erroneous-expression>)’ is not a function
src/preview.c: In function ‘check_init_previews’:
src/preview.c:125: error: ‘f’ undeclared (first use in this function)
src/preview.c:125: error: expected ‘)’ before ‘__VA_OPT__’
src/preview.c:125: error: called object ‘print_int_error__VA_OPT__
(<erroneous-expression>)’ is not a function
src/preview.c: In function ‘run’:
src/preview.c:133: warning: implicit declaration of function ‘__VA_OPT__’
src/preview.c:133: error: expected expression before ‘do’
src/preview.c:133: error: expected ‘;’ before ‘return’
src/preview.c:149: error: ‘f’ undeclared (first use in this function)
src/preview.c:149: error: expected ‘)’ before ‘__VA_OPT__’
src/preview.c:149: error: called object ‘print_int_error__VA_OPT__
(<erroneous-expression>)’ is not a function
src/preview.c: In function ‘preview_run’:
src/preview.c:168: error: expected expression before ‘do’
src/preview.c:168: error: expected ‘;’ before ‘return’
src/preview.c:170: error: expected expression before ‘do’
src/preview.c:170: error: expected ‘;’ before ‘return’
src/preview.c:171: error: expected expression before ‘do’
src/preview.c:171: error: expected ‘;’ before ‘return’
src/preview.c:172: error: expected expression before ‘do’
src/preview.c:172: error: expected ‘;’ before ‘return’
src/preview.c:173: error: expected expression before ‘do’
src/preview.c:173: error: expected ‘;’ before ‘return’
src/preview.c:174: error: expected expression before ‘do’
src/preview.c:174: error: expected ‘;’ before ‘return’
src/preview.c:175: error: expected expression before ‘do’
src/preview.c:175: error: expected ‘;’ before ‘return’
src/preview.c:176: error: expected expression before ‘do’
src/preview.c:176: error: expected ‘;’ before ‘return’
src/preview.c:177: error: expected expression before ‘do’
src/preview.c:177: error: expected ‘;’ before ‘return’
src/preview.c:181: error: expected expression before ‘do’
src/preview.c:181: error: expected ‘;’ before ‘return’
src/preview.c:184: error: expected expression before ‘do’
src/preview.c:184: error: expected ‘;’ before ‘return’
src/preview.c:185: error: expected expression before ‘do’
src/preview.c:185: error: expected ‘;’ before ‘return’
src/preview.c:204: error: expected expression before ‘do’
src/preview.c:204: error: expected ‘;’ before ‘return’
make: *** [src/preview.o] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ctpv/ctpv/work/ctpv-1.1'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ctpv/ctpv/work/ctpv-1.1"
&& /usr/bin/make -j6 -w all
CC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ctpv/ctpv/work/compwrap/cc/usr/bin/gcc-4.2"
CXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ctpv/ctpv/work/compwrap/cxx/usr/bin/g++-4.2"
OBJC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ctpv/ctpv/work/compwrap/objc/usr/bin/gcc-4.2"
OBJCXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ctpv/ctpv/work/compwrap/objcxx/usr/bin/g++-4.2"
INSTALL="/usr/bin/install -c"
Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70170>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list