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.
Tim, >Date: Tue, 30 Jun 98 09:11:41 -0400 >From: address@hidden >Organization: . >To: Steve Emmerson <address@hidden> >Subject: Re: 980629: compilation error; Linux: iostream.h not found >Keywords: 199806291623.KAA19742 In the above message, you wrote: > Your settings worked. Great! > > CFLAGS=-O > CPPFLAGS=-DNDEBUG -Df2cFortran > FFLAGS=-O -Nx400 -w > CXX=/usr/bin/c++ > FC=/usr/bin/fort77 > CC=/usr/bin/cc > > Thanks for the help. So, what are the "-Nx400 -w" flags, anyway? "-Nx400" allows the include-file "netcdf.inc" to contain unused EXTERNAL identifiers. "-w" disables warning messages. Basically, the compiler is too strict and these options relax it. -------- Steve Emmerson <http://www.unidata.ucar.edu>