predefined macros and "MAXFLOAT"

Robert Seals rds95 at leah.Albany.Edu
Thu Aug 30 04:57:13 AEST 1990


In article <3583 at leah.Albany.Edu>, I wrote;

> is an extern unsigned int. So, it's impossible to do something like
> 
> const float        lims[] = {1.0, 2.5, MAXFLOAT};

Well, it turns out that "const" is perfectly OK, but "static" gets
the error message "illegal constant expression". Strange.

It seems to me that 'const' oughta be NG, and static oughta be OK.

What's da scoop?

rob
-- 
--------------------------------------------------------------------------------
"Unix has its weak points, but its file system is not one of them." -Chris Torek
  rob rob at asrcmv.albany.edu or rds95 at leah.albany.edu or rob at dinner.albany.edu
		I have no idea what the uucp path to me is.



More information about the Comp.unix.aix mailing list