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.
I am unable to compile gadap.
I am using g++ 4.3.2.
I get the following messages:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/dmh/install/include/libdap -g -\
O2 -MT gaBaseTypes.o -MD -MP -MF ".deps/gaBaseTypes.Tpo" -c -o gaBaseTypes.o ga\
BaseTypes.cc; \
then mv -f ".deps/gaBaseTypes.Tpo" ".deps/gaBaseTypes.Po"; else rm -f "\
.deps/gaBaseTypes.Tpo"; exit 1; fi
In file included from gaBaseTypes.cc:31:
gaBaseTypes.h:35: error: expected class-name before â{â token
gaBaseTypes.h:39: error: ISO C++ forbids declaration of âBaseTypeâ with no type
gaBaseTypes.h:39: error: âBaseTypeâ declared as a âvirtualâ field
gaBaseTypes.h:39: error: expected â;â before â*â token
gaBaseTypes.h:49: error: expected class-name before â{â token
gaBaseTypes.h:53: error: ISO C++ forbids declaration of âBaseTypeâ with no type
gaBaseTypes.h:53: error: âBaseTypeâ declared as a âvirtualâ field
gaBaseTypes.h:53: error: expected â;â before â*â token
...
Ticket Details
===================
Ticket ID: VRC-944934
Department: Support netCDF
Priority: Normal
Status: Open