Can't compile Math.h++ source files on SunOS4.1.3 with SunPro 4.0.1 compiler

Article ID: 1016
Last updated: 29 Jan, 2008
Article ID: 1016
Last updated: 29 Jan, 2008
Revision: 1
Views: 2741
Posted: 27 Jun, 1997
by --
Updated: 29 Jan, 2008
by
Problem


I can't compile the Math.h++ source files on SunOS4.1.3 with the SunPro 4.0.1 compiler. When compiling the library, I get error messages like:
 CC -I.. -O    -c rccfun.cpp                                                     
/package/1/sun.compilers/C++4.0.1/SC3.0.1
/include/CC_413_U1/complex.h, line 9 4:
Error: Too many arguments in call to atan2().

or other errors related to the global math functions defined in math.h.

 




Cause


This is a Sun compiler problem related to old-style K&R function declararions.


Action


This is an old version of the product on an old platform.  The recomended action is to upgrade to the most recent versions.  If that is impossible, you need to get patch #101914-11 from SUN.

 

This article was:   Helpful | Not helpful
Report an issue
Article ID: 1016
Last updated: 29 Jan, 2008
Revision: 1
Views: 2741
Posted: 27 Jun, 1997 by --
Updated: 29 Jan, 2008 by

Others in this category