Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

c++ library for netCDF

Russ,

I recompiled the Gnu C++ compiler version 2.6.3 on
my system.  Once completed I started in again on
the compilation of the c++ library.

There was a conflict in two header files for
the same variable.  In line 281 on the libsrc/netcdf.h 
and line 20 of the c++/ncvalues.hh files
the definitions are different.  I changed
the libsrc/netcdf.h line from

        typedef char ncbyte;
to
        typedef unsigned char ncbyte;

and the c++ library compiled nicely.  I am not
sure what the impact will be on the netCDF
C library with this change.  Do you?

By the way, if I took the 'unsigned' out of the
ncvalues.hh file it caused many errors.


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
John Huddleston                             |           //////////
Computer Engineer                           |          \(o)/  \(o)/
USDA Natural Resources Conservation Service |               ()
     (formerly Soil Conservation Service)   |          \\========//
2625 Redwing Rd., Suite 110                 |
Fort Collins, Colorado 80526                |   If you can't find it,
jhuddleston@xxxxxxxxxxxxxxx                 |   it's in the CVS.
(303) 282-2477                              |
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690