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

Re: 20010723: netcdf 3.5.0 and gcc 3.0



Hi Harry,

Russ is the netCDF/C++ expert.  Unfortunately, he's on vacation this
week -- but he'll see your message when he returns.

If you discover anything worthwhile about this problem, please notify
Russ.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>

> From: Harry Edmon <address@hidden>
> Subject: netcdf 3.5.0 and gcc 3.0
> Organization: University of Washington
> Keywords: 200107232006.f6NK6T127994 netCDF 3.5 gcc 3.0
> 
> On a Sun running the new gcc 3.0 I get the following error in compiling netcdf
> 3.5.0:
> 
> g++ -c  -I../libsrc -I.  -DNDEBUG ncvalues.cpp
> ncvalues.cpp: In member function `virtual std::ostream& 
>    NcValues_float::print(std::ostream&) const':
> ncvalues.cpp:313: no matching function for call to `std::basic_ostream<char, 
>    std::char_traits<char> >::flags(long int&)'
> /usr/local/include/g++-v3/bits/ios_base.h:311: candidates are: 
>    std::_Ios_Fmtflags std::ios_base::flags() const
> /usr/local/include/g++-v3/bits/ios_base.h:315:                 
>    std::_Ios_Fmtflags std::ios_base::flags(std::_Ios_Fmtflags)
> ncvalues.cpp: In member function `virtual std::ostream& 
>    NcValues_double::print(std::ostream&) const':
> ncvalues.cpp:325: no matching function for call to `std::basic_ostream<char, 
>    std::char_traits<char> >::flags(long int&)'
> /usr/local/include/g++-v3/bits/ios_base.h:311: candidates are: 
>    std::_Ios_Fmtflags std::ios_base::flags() const
> /usr/local/include/g++-v3/bits/ios_base.h:315:                 
>    std::_Ios_Fmtflags std::ios_base::flags(std::_Ios_Fmtflags)
> 
> 
> --
> Dr. Harry Edmon                       E-MAIL: address@hidden
> 206-543-0547                          address@hidden
> Dept of Atmospheric Sciences  FAX:    206-543-0308
> University of Washington, Box 351640, Seattle, WA 98195-1640