Opened 11 years ago

Closed 11 years ago

#624 closed defect (fixed)

rasgeo fails to compile with debug enabled

Reported by: Dimitar Misev Owned by: Dimitar Misev
Priority: major Milestone:
Component: rasgeo Version: development
Keywords: Cc: Alexander Herzig
Complexity: Medium

Description

When ./configure --enable-debug is used, rasgeo compilation fails with the below error

In file included from initpyramid.cc:88:0:
../../../../debug/debug.hh:56:0: note: this is the location of the previous definition
RasdamanHelper2.cc: In member function ‘std::vector<int> RasdamanHelper2::getCRSOrder(double)’:
RasdamanHelper2.cc:1946:5: error: expected unqualified-id before string constant
RasdamanHelper2.cc:1946:5: error: expected ‘;’ before string constant
RasdamanHelper2.cc: In member function ‘std::vector<double> RasdamanHelper2::getMetaCellSize(double, bool)’:
RasdamanHelper2.cc:2039:5: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2039:5: error: expected ‘;’ before string constant
RasdamanHelper2.cc:2067:5: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2067:5: error: expected ‘;’ before string constant
RasdamanHelper2.cc:2112:5: error: no matching function for call to ‘RasdamanHelper2::getMetaCellSize()’
RasdamanHelper2.cc:2112:5: note: candidate is:
RasdamanHelper2.cc:1991:1: note: std::vector<double> RasdamanHelper2::getMetaCellSize(double, bool)
RasdamanHelper2.cc:1991:1: note:   candidate expects 2 arguments, 0 provided
RasdamanHelper2.cc: In member function ‘long int RasdamanHelper2::canAppendReferencedZCoeff(double, double)’:
RasdamanHelper2.cc:2509:5: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2509:5: error: expected ‘;’ before string constant
RasdamanHelper2.cc: In member function ‘long int RasdamanHelper2::getCoverageIdFromOID(double)’:
RasdamanHelper2.cc:2561:5: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2561:5: error: expected ‘;’ before string constant
RasdamanHelper2.cc: In member function ‘double RasdamanHelper2::getOIDFromCoverageName(const string&)’:
RasdamanHelper2.cc:2609:5: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2609:5: error: expected ‘;’ before string constant
RasdamanHelper2.cc: In member function ‘int RasdamanHelper2::writePSMetadata(long int, const string&, const string&, const std::vector<std::basic_string<char> >&, const std::vector<int>&, const string&, double, double, double, double, double, double, double, double, double, bool, long int, double)’:
RasdamanHelper2.cc:2789:8: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2789:8: error: expected ‘;’ before string constant
RasdamanHelper2.cc:2799:14: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2799:14: error: expected ‘;’ before string constant
RasdamanHelper2.cc:2816:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2816:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:2828:13: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2828:13: error: expected ‘;’ before string constant
RasdamanHelper2.cc:2878:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2878:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:2888:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2888:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:2954:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2954:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:2964:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:2964:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3068:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3068:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3078:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3078:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3101:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3101:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3108:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3108:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3127:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3127:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3135:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3135:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3154:13: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3154:13: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3164:5: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3164:5: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3196:13: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3196:13: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3220:13: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3220:13: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3242:13: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3242:13: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3267:13: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3267:13: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3273:13: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3273:13: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3324:13: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3324:13: error: expected ‘;’ before string constant
RasdamanHelper2.cc: In member function ‘int RasdamanHelper2::deletePSMetadata(const string&, double)’:
RasdamanHelper2.cc:3397:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3397:9: error: expected ‘;’ before string constant
RasdamanHelper2.cc:3404:9: error: expected unqualified-id before string constant
RasdamanHelper2.cc:3404:9: error: expected ‘;’ before string constant
make[4]: *** [RasdamanHelper2.o] Error 1

Change History (1)

comment:1 by Dimitar Misev, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.