Re: Build failure on Solaris 10 with Sun cc

Thien-Thi Nguyen <[email protected]>
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <[email protected]>
() Paul Eggert <[email protected]>
() Tue, 28 Sep 2010 23:23:06 -0700

   source='b-divvy.c' object='b-divvy.o' libtool=no \
   DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \
   cc -xc99=all -xc99=all -DHAVE_CONFIG_H -I. -I../lib  -I'../lib'    -g -c b-divv\
   y.c
   "b-divvy.c", line 91: left operand of "->" must be pointer to struct/union
   "b-divvy.c", line 91: left operand of "->" must be pointer to struct/union
   "b-divvy.c", line 91: left operand of "->" must be pointer to struct/union
   "b-divvy.c", line 91: left operand of "->" must be pointer to struct/union
   "b-divvy.c", line 91: left operand of "->" must be pointer to struct/union
   "b-divvy.c", line 91: left operand of "->" must be pointer to struct/union
   ...

   A lot more messages came out, much like the previous ones shown above,
   and the compilation failed.

Hmmm, i can't even formulate a hypothesis on why ‘struct divvy *divvy’
is not considered a pointer to a struct/union by the Sun cc.

Could you please ‘M-x c-macro-expand’ that function and post the results?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.