GCC 4.9.1 failed to build CDO 1.6.4
Added by Li Dong over 10 years ago
Dear all,
I am trying to build CDO 1.6.4 with GCC 4.9.1, but I encountered the following error:
make[4]: [install-data-hook] Error 1 (ignored) remap_distwgt_scrip.c: In function ‘grid_search_nbr’: remap_distwgt_scrip.c:303:14: error: expected ‘;’ before ‘,’ token for ( j = 0, i = 0; i < ndist; ++i ) ^ remap_distwgt_scrip.c:303:23: error: invalid controlling predicate for ( j = 0, i = 0; i < ndist; ++i ) ^ remap_distwgt_scrip.c:303:34: error: invalid increment expression for ( j = 0, i = 0; i < ndist; ++i ) ^ make[1]: *** [cdo-remap_distwgt_scrip.o] Error 1 make: *** [install-recursive] Error 1
This error has been reported here (https://code.zmaw.de/boards/1/topics/2983?r=2986#message-2986).
Replies (1)
RE: GCC 4.9.1 failed to build CDO 1.6.4 - Added by Uwe Schulzweida over 10 years ago
Thanks for the information. This problem is already solved in the prereleased CDO version (https://code.zmaw.de/projects/cdo/files).