Trying to build netcdf-fortran svn trunk with GCC 4.8 in Fedora Rawhide I get:
gfortran -DHAVE_CONFIG_H -I. -I../../fortran -I.. -I../libsrc -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables -c -o module_netcdf_nc_data.o
../../fortran/module_netcdf_nc_data.F90
../../fortran/module_netcdf_nc_data.F90:73.34:
Integer, Parameter :: C_PTRDIFF_T = C_SIZE_T
1
../../fortran/module_netcdf_nc_data.F90:30.5:
USE ISO_C_BINDING ! All subsequent USE associations of netcdf_nc_data
2
Error: Symbol 'c_ptrdiff_t' at (1) conflicts with symbol from module
'__iso_c_binding', use-associated at (2)
Looks like they got around to adding the C_PTRDIFF_T type, so it looks like
you're going to have to add a autoconf test for that.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder Office FAX: 303-415-9702
3380 Mitchell Lane orion@xxxxxxxx
Boulder, CO 80301 http://www.nwra.com