From: jim h. <JAM...@sa...> - 2010-03-09 16:39:13
|
One of our folks working on windows has built the current (within the last week or so) ossim trunk. We know it works as he used it to build ossimPlanetQt and that works fine. But when he tries to build a project with my source he gets compile errors in ossimCommon.h (see below). It looks like for some reason its having problems building template classes. Is there something special required in the way of compiler flags or defines when compiling on windows? Best jim C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(195) : error C2146: syntax error : missing ')' before identifier 'a' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(195) : error C2146: syntax error : missing ')' before identifier 'b' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(195) : error C2146: syntax error : missing ';' before identifier 'b' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(195) : error C2059: syntax error : ')' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(195) : error C2059: syntax error : ')' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(202) : error C2143: syntax error : missing ';' before '<' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(202) : error C2433: 'min' : 'inline' not permitted on data declarations C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(202) : error C2988: unrecognizable template declaration/definition C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(202) : error C2059: syntax error : '<' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(216) : error C2143: syntax error : missing ';' before '{' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(216) : error C2447: '{' : missing function header (old-style formal list?) C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(228) : error C2146: syntax error : missing ')' before identifier 'a' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(228) : error C2146: syntax error : missing ')' before identifier 'b' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(228) : error C2146: syntax error : missing ';' before identifier 'b' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(228) : error C2059: syntax error : ')' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(228) : error C2059: syntax error : ')' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(234) : error C2143: syntax error : missing ';' before '<' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(234) : error C2433: 'max' : 'inline' not permitted on data declarations C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(234) : error C2988: unrecognizable template declaration/definition C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(234) : error C2059: syntax error : '<' C:\OSSIMRoot\ossim\include\ossim/base/ossimCommon.h(234) : fatal error C1903: unable to recover from previous error(s); stopping compilation |