[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NetCDF 3.6.1 warnings
- Subject: Re: NetCDF 3.6.1 warnings
- Date: Fri, 31 Mar 2006 15:11:10 -0700
"Sean McBride" <address@hidden> writes:
> Hi Ed,
>
> I recently updated to NetCDF 3.6.1 and everything continues to work
> fine. However, I believe a compiler warning was introduced that was not
> there in the previous version. See the screenshot. The fix is quite
> simple: I just renamed the 'index' parameter to 'indexp'. The shadowed
> declaration is index() in string.h. It's most annoying that a global
> function named index() exists, because it basically means you can never
> use 'index' as a variable name. But it's worth it IMHO because that
> warning is quite handy sometimes.
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng address@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
Yep, and I don't know how that managed to get passed me.
But those "index"s will be "indexp"s in the next release.
Thanks,
Ed
--
Ed Hartnett -- address@hidden