[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #VRC-944934]: linking with DAP-enabled libnetcdf.a v4.1 and libdap.a v3.7.8



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