On 12/1/05, Andrew Paprocki <[EMAIL PROTECTED]> wrote: > $ gcc -ansi -o t t.c > t.c: In function `main': > t.c:9: error: invalid operands to binary -
gcc builds it fine for me: % which gcc; gcc -v /usr/sfw/bin/gcc Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs Configured with: /builds/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77 --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-20050802) % gcc -ansi -o t t.c % ./t elapsed: 280 Studio fails as yours does, though. -- Eric Enright _______________________________________________ opensolaris-code mailing list [email protected] https://opensolaris.org:444/mailman/listinfo/opensolaris-code
