[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: netCDF C++ problems



> Organization: Cornell
> Keywords: 199402191658.AA26041 g++ enum

Mike,

> It seems to be a g++ problem. I have minimized the code needed to obtain
> the error message. I have appended the code below. 
> 
> I have also found what may be a fix.  Apparently, g++ doesn't like the
> enum A::etype. . .  See the commented line below. . .

Thanks for tracking this down.  Since the solution you found requires
changing the return type of the NcFile::get_fill() member function from
`enum NcFile::FillMode' to `NcFile::FillMode', I'll have to determine if
this works with other C++ compilers as well.  If it does, I'll change it.

__________________________________________________________________________
                      
Russ Rew                                              UCAR Unidata Program
address@hidden                                        P.O. Box 3000
(303)497-8645                                 Boulder, Colorado 80307-3000