pgsql-bugs@postgresql.org writes:
> postgresql will not build on Solaris with cc
Which cc, exactly?
I just found out yesterday that /usr/ucb/cc doesn't work very well on
Solaris; it tries to provide a BSD-ish environment and doesn't really
succeed. You want to use the SUNpro compiler directly, or via the
standard link /usr/ccs/bin/ucbcc.
regards, tom lane