jjc@UUNET.UU.NET (James Clark) (05/12/89)
1.35.0- gives a spurious warning: Script started on Fri May 12 09:58:32 1989 jclark% cat test.c struct A { A(int); void operator=(int); }; A foo(int x) { return x ? A(1) : A(0); } jclark% make test.o /u/local/g++/g++ -B/u/local/g++/ -g -v -I. -sun4 -c test.c g++ version 1.35.0- /usr/local/lib/gcc-cpp -+ -v -I. -undef -D__GNU__ -D__GNUG__ -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ test.c /tmp/cca26538.cpp GNU CPP version 1.35 /u/local/g++/cc1plus /tmp/cca26538.cpp -quiet -dumpbase test.c -noreg -version -G -o /tmp/cca26538.s GNU C++ version 1.35.0- (sparc) compiled by GNU C version 1.35. In function struct A foo (int): test.c:8: warning: bitwise copy: `A' has a member with operator=() test.c:8: warning: bitwise copy: `A' has a member with operator=() as /tmp/cca26538.s -o test.o /u/local/g++/g++: unrecognized option `-sun4' jclark% exit jclark% script done on Fri May 12 09:58:48 1989 James Clark jjc@jclark.uucp