Commit d59c0342 authored by Rashad Kanavath's avatar Rashad Kanavath

WRG: hide overloaded virtual from ossim using GCC pragma

parent 0f8334f1
......@@ -9,16 +9,22 @@
//----------------------------------------------------------------------------
// $Id$
#if defined(__GNUC__) || defined(__clang__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Woverloaded-virtual"
#include "ossimTerraSarXSarSensorModel.h"
# pragma GCC diagnostic pop
#else
#include "ossimTerraSarXSarSensorModel.h"
#endif
int main(int argc, char * argv[])
{
std::cout.precision(9);
if(argc != 4)
return EXIT_FAILURE;
std::string annotationXml = argv[2];
std::string geoXml = argv[3];
bool inverse = atoi(argv[1]);
......@@ -42,6 +48,6 @@ int main(int argc, char * argv[])
if(validate)
return EXIT_SUCCESS;
return EXIT_FAILURE;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment