Custom Query (101 matches)
Results (94 - 96 of 101)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#93 | fixed | readServiceFile definition / linking error | Knut Landmark | |
Description |
The file service_internal.c contains the definition of the new function readServiceFile, which calls getServiceFromFile; getServiceFromFile is defined in service_conf.tab.c and declared extern in service_internal.h. Since WPS service implementations must be linked with service_internal.obj, I suggest moving the definition of readServiceFile to zoo_service_loader.c to avoid "unresolved external symbol" type linker errors. To complete this task, remove the declaration extern int getServiceFromFile(maps*,const char*,service**); from service_internal.h and put it in zoo_service_loader.c. Also put the declaration extern int readServiceFile(maps* conf, char* file,service** service,char *name); in zcfg2yaml.c |
|||
#159 | fixed | request_parser.c error on Windows: cannot convert from 'const char *' to 'char *' | jmckenna | |
Description |
Using Visual Studio 2012 compiler, the following errors are thrown: request_parser.c(1743) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *' Conversion loses qualifiers request_parser.c(1792) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *' Conversion loses qualifiers request_parser.c(1795) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *' Conversion loses qualifiers request_parser.c(1807) : error C2440: '=' : cannot convert from 'const char *' to 'char *' Conversion loses qualifiers NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2' Stop. more about this error: https://msdn.microsoft.com/en-us/library/sy5tsf8z.aspx I am attaching a possible fix for this (please review if it is valid). |
|||
#160 | fixed | service.h: Windows compile errors of C89-style declarations | jmckenna | |
Description |
Using Visual Studio 2012, the following errors are thrown: ulinet.c d:\build\mapserver-buildkit-2012\zoo-project-svn-20170731\zoo-project\zoo-kernel\service.h(58) : error C2143: syntax error : missing ';' before 'type' d:\build\mapserver-buildkit-2012\zoo-project-svn-20170731\zoo-project\zoo-kernel\service.h(59) : error C2065: 'theTime' : undeclared identifier d:\build\mapserver-buildkit-2012\zoo-project-svn-20170731\zoo-project\zoo-kernel\service.h(59) : warning C4133: 'function' : incompatible types - from 'int *' to '__timeb64 *' d:\build\mapserver-buildkit-2012\zoo-project-svn-20170731\zoo-project\zoo-kernel\service.h(60) : error C2065: 'theTime' : undeclared identifier d:\build\mapserver-buildkit-2012\zoo-project-svn-20170731\zoo-project\zoo-kernel\service.h(60) : error C2224: left of '.time' must have struct/union type d:\build\mapserver-buildkit-2012\zoo-project-svn-20170731\zoo-project\zoo-kernel\service.h(61) : error C2065: 'theTime' : undeclared identifier d:\build\mapserver-buildkit-2012\zoo-project-svn-20170731\zoo-project\zoo-kernel\service.h(61) : error C2224: left of '.millitm' must have struct/union type This is due to the C89-style requirement, where variables must be declared at beginning of scope. |