subscripted value is neither array nor pointer

Peter Jordan pjordan@noname.blackwire.com
Mon Mar 13 00:47:00 GMT 2000


>> t-> osd2.linux2.l_i_reserved2[0] =

>Take a look at the preprocessed code first, it may turn out to be some
>preprocessing issue, such as the wrong header file getting included or
>something.

Urk. I thought it might have been a known "change" and not a bug.
Here goes ...


Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.96/specs
gcc version 2.96 20000306 (experimental)
 /usr/lib/gcc-lib/i686-pc-linux-gnu/2.96/cpp -lang-c -v -I../../lib -I../../lib -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__ -g -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_pentiumpro__ -DHAVE_LINUX_FS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DHAVE_ERRNO_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MNTENT_H=1 -DHAVE_PATHS_H=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SETJMP_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LINUX_FD_H=1 -DHAVE_LINUX_MAJOR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_NET_IF_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_VPRINTF=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8 -DHAVE_GETRUSAGE=1 -DHAVE_LLSEEK=1 -DHAVE_STRDUP=1 -DHAVE_STRCASECMP=1 -DHAVE_SRANDOM=1 -DHAVE_FCHOWN=1 -DHAVE_MALLINFO=1 -DHAVE_INO_T=1 -DHAVE_EXT2_IOCTLS=1 swapfs.c swapfs.i
GNU CPP version 2.96 20000306 (experimental) (cpplib)
 (i386 Linux/ELF)
ignoring duplicate directory `../../lib'
#include "..." search starts here:
#include <...> search starts here:
 ../../lib
 /usr/local/include
 /usr/i686-pc-linux-gnu/include
 /usr/lib/gcc-lib/i686-pc-linux-gnu/2.96/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i686-pc-linux-gnu/2.96/cc1 swapfs.i -quiet -dumpbase swapfs.c -g -O2 -version -o swapfs.s
GNU C version 2.96 20000306 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.96 20000306 (experimental).
swapfs.c: In function `ext2fs_swap_inode':
swapfs.c:119: subscripted value is neither array nor pointer
swapfs.c:120: subscripted value is neither array nor pointer
swapfs.c:121: subscripted value is neither array nor pointer
swapfs.c:122: subscripted value is neither array nor pointer


-------------- next part --------------
A non-text attachment was scrubbed...
Name: swapfs.i.gz
Type: application/x-gzip
Size: 15466 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20000313/da7b283d/attachment.bin>


More information about the Gcc mailing list