head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.44 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.42 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.40 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.38 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.36 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.34 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.32 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.30 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.28 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.26 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.24 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.22 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.20 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.18 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.16 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.14 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.12 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.10 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.8 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.6 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.1.0.8 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.6 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.4 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.2 pkgsrc-2004Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2005.02.25.09.52.47; author adam; state dead; branches; next 1.1; 1.1 date 2004.01.11.15.58.45; author cjep; state Exp; branches; next ; desc @@ 1.2 log @Changes 3.6.0-p1: Patched version of 3.6.0 to fix potentially serious bug described at http://www.unidata.ucar.edu/packages/netcdf/docs/known_problems.html#cdf2-bug Changes 3.6.0: Added texinfo source for the documentation. Added large file tests to Windows directory in distribution. Modified win32 visual studio project files so that m4 is no longer required to build netcdf under visual studio. Modified rules.make to use install instead of cp, fixing install problem for cygwin users. Modified configure/install stuff to support HP-UX. Modified configure/install stuff to support G95. In the f90 interface, applied Arnaud Desitter's fixes to correct mismatches between scalar and array arguments, eliminating (legitimate) complaints by the NAGWare f95 compiler. Also fixed bugs introduced in 3.6.0-beta5 in the mapped array interfaces. @ text @$NetBSD: patch-ao,v 1.1 2004/01/11 15:58:45 cjep Exp $ --- cxx/ncvalues.cpp.orig 1998-12-22 18:21:49.000000000 +0000 +++ cxx/ncvalues.cpp @@@@ -8,5 +8,5 @@@@ *********************************************************************/ -#include // for debugging +#include // for debugging #include "ncvalues.h" @@@@ -26,5 +26,5 @@@@ long NcValues::num( void ) } -ostream& operator<< (ostream& os, const NcValues& vals) +std::ostream& operator<< (std::ostream& os, const NcValues& vals) { return vals.print(os); @@@@ -245,5 +245,5 @@@@ inline char* NcValues_char::as_string( l } -ostream& NcValues_short::print(ostream& os) const +std::ostream& NcValues_short::print(std::ostream& os) const { for(int i = 0; i < the_number - 1; i++) @@@@ -254,5 +254,5 @@@@ ostream& NcValues_short::print(ostream& } -ostream& NcValues_int::print(ostream& os) const +std::ostream& NcValues_int::print(std::ostream& os) const { for(int i = 0; i < the_number - 1; i++) @@@@ -263,5 +263,5 @@@@ ostream& NcValues_int::print(ostream& os } -ostream& NcValues_nclong::print(ostream& os) const +std::ostream& NcValues_nclong::print(std::ostream& os) const { for(int i = 0; i < the_number - 1; i++) @@@@ -272,5 +272,5 @@@@ ostream& NcValues_nclong::print(ostream& } -ostream& NcValues_long::print(ostream& os) const +std::ostream& NcValues_long::print(std::ostream& os) const { for(int i = 0; i < the_number - 1; i++) @@@@ -281,5 +281,5 @@@@ ostream& NcValues_long::print(ostream& o } -ostream& NcValues_ncbyte::print(ostream& os) const +std::ostream& NcValues_ncbyte::print(std::ostream& os) const { for(int i = 0; i < the_number - 1; i++) @@@@ -290,5 +290,5 @@@@ ostream& NcValues_ncbyte::print(ostream& } -ostream& NcValues_char::print(ostream& os) const +std::ostream& NcValues_char::print(std::ostream& os) const { os << '"'; @@@@ -303,7 +303,7 @@@@ ostream& NcValues_char::print(ostream& o } -ostream& NcValues_float::print(ostream& os) const +std::ostream& NcValues_float::print(std::ostream& os) const { - long save=os.flags(); + std::ostream::fmtflags save=os.flags(); os.precision(7); for(int i = 0; i < the_number - 1; i++) @@@@ -315,7 +315,7 @@@@ ostream& NcValues_float::print(ostream& } -ostream& NcValues_double::print(ostream& os) const +std::ostream& NcValues_double::print(std::ostream& os) const { - long save=os.flags(); + std::ostream::fmtflags save=os.flags(); os.precision(15); for(int i = 0; i < the_number - 1; i++) @ 1.1 log @Make this package compile with gcc3. Fixes PR#23330 from Wolfgang S. Rupprecht. Patches from http://www.unidata.ucar.edu/packages/netcdf/known_problems.html (Mike Romberg). @ text @d1 1 a1 1 $NetBSD$ @