bash fails on 10.6.8 with default compiler
:info:build /usr/bin/gcc-4.2 -std=gnu99 -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -DMACOSX -I/opt/local/include -pipe -Os -DSSH_SOURCE_BASHRC -arch ppc getopt.c
:info:build /usr/bin/gcc-4.2 -std=gnu99 -c -DHAVE_CONFIG_H -DSHELL -I/opt/local/include -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_shells_bash/bash/work/bash-5.2 -I../.. -I../../lib -DMACOSX -pipe -Os -DSSH_SOURCE_BASHRC -arch ppc bind.c
:info:build complete.c: In function ‘rl_username_completion_function’:
:info:build complete.c:2308: error: dereferencing pointer to incomplete type
:info:build complete.c:2312: error: dereferencing pointer to incomplete type
:info:build complete.c:2312: error: dereferencing pointer to incomplete type
:info:build complete.c: In function ‘rl_filename_completion_function’:
:info:build complete.c:2458: error: nested functions are disabled, use -fnested-functions to re-enable
:info:build complete.c:2458: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
:info:build complete.c:2458: error: invalid type argument of ‘unary *’
:info:build complete.c:2458: error: ‘DIR’ undeclared (first use in this function)
:info:build complete.c:2458: error: (Each undeclared identifier is reported only once
:info:build complete.c:2458: error: for each function it appears in.)
:info:build complete.c:2458: error: expected expression before ‘)’ token
:info:build complete.c:2475: warning: implicit declaration of function ‘closedir’
:info:build complete.c:2476: error: expected expression before ‘)’ token
:info:build complete.c:2554: warning: implicit declaration of function ‘opendir’
:info:build complete.c:2554: error: lvalue required as left operand of assignment
:info:build complete.c:2579: warning: implicit declaration of function ‘readdir’
:info:build complete.c:2579: warning: assignment makes pointer from integer without a cast
:info:build complete.c:2581: error: dereferencing pointer to incomplete type
:info:build complete.c:2582: error: dereferencing pointer to incomplete type
:info:build complete.c:2614: error: expected expression before ‘)’ token
:info:build complete.c:2642: error: dereferencing pointer to incomplete type
:info:build complete.c:2655: error: dereferencing pointer to incomplete type
:info:build make[1]: *** [complete.o] Error 1
Change History (4)
Keywords: |
legacy-os added
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
The error is still there.