NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Problem compiling netcdf.h under MS-Windows

Hello,

With NetCDF 3.6.1, functions nc_put_varm and
nc_get_varm defined in netcdf.h (cvs release 2.105)
have a formal parameter named 'map'.

With g++ compiler there is no problem but with
Microsoft compilers (V Studio 6) it complains
about a name conflict with the STL 'map' template
(if netcdf.h is included in C++ source file).

The other _varm functions have imapp instead of map.

--
Philippe Poilbarbe
CLS - Space Oceanography Group

==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: