This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> 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