#1335: g.region compilation fails with recent proj ----------------------------+----------------------------------------------- Reporter: martinl | Owner: grass-dev@… Type: defect | Status: new Priority: blocker | Milestone: 6.4.1 Component: Compiling | Version: svn-releasebranch64 Keywords: g.region, proj | Platform: Linux Cpu: Unspecified | ----------------------------+----------------------------------------------- Using fresh `proj4` from SVN I am getting error when compiling `g.region`, see also https://trac.osgeo.org/proj/ticket/98
{{{ gcc -I/usr/local/src/grass64_release/dist.i686-pc-linux-gnu/include -g -Wall -Werror-implicit-function-declaration -fno-common -Wextra -Wunused -I/usr/local/include -I/usr/local/include -DPACKAGE=\""grassmods"\" -I/usr/local/include -I/usr/local/src/grass64_release/dist.i686-pc-linux- gnu/include -o OBJ.i686-pc-linux-gnu/printwindow.o -c printwindow.c In file included from /usr/local/include/projects.h:248:0, from printwindow.c:5: /usr/local/include/proj_api.h:61:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/local/include/proj_api.h:82:34: error: expected ‘)’ before ‘const’ /usr/local/include/proj_api.h:95:30: error: expected ‘)’ before ‘int’ /usr/local/include/proj_api.h:96:35: error: expected ‘)’ before ‘const’ /usr/local/include/proj_api.h:108:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pj_get_default_ctx’ /usr/local/include/proj_api.h:109:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pj_get_ctx’ /usr/local/include/proj_api.h:110:26: error: expected declaration specifiers or ‘...’ before ‘projCtx’ /usr/local/include/proj_api.h:111:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pj_ctx_alloc’ /usr/local/include/proj_api.h:114:33: error: expected ‘)’ before ‘int’ /usr/local/include/proj_api.h:115:33: error: expected ‘)’ before ‘int’ /usr/local/include/proj_api.h:116:34: error: expected ‘)’ before ‘void’ /usr/local/include/proj_api.h:117:36: error: expected ‘)’ before ‘void’ /usr/local/include/proj_api.h:120:22: error: expected ‘)’ before ‘ctx’ make: *** [OBJ.i686-pc-linux-gnu/printwindow.o] Error 1 }}} -- Ticket URL: <https://trac.osgeo.org/grass/ticket/1335> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev