Thanks for info about the Oracle Solaris compiler.

The 1.0fi stuff is how (sqrt -1) used to be handled in Solaris --
its complex number implementation was incomplete, so everyone
had to kludge around it; perhaps it has changed?  If so, I need
some compiler switch to distinguish versions.  See line 322 of s7.c.
You could also use the compilation switch -DHAVE_COMPLEX_NUMBERS=0.

popen and pclose are used in the "system" implementation.
You could omit this via -DWITH_SYSTEM_EXTRAS=0. After
googling around for awhile, I can't find any report
of a problem with them in Solaris.  They should be in stdio.h.

The "warning: statement not reached" cases appear to be correct,
but other compilers are not as smart about this, and complain if
the extra (harmless) return statement is not present.

I think the only real problem here is how to define _Complex_I for
that version of C.

_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to