Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
273
Issues
273
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
731dbfdd
Commit
731dbfdd
authored
Apr 01, 2015
by
Rashad Kanavath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: MSVC: ifdef gaurd for pragma GCC
parent
d1e1aad0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
3 deletions
+28
-3
Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.txx
Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.txx
+5
-1
Modules/Adapters/GdalAdapters/src/otbOGRFeatureWrapper.cxx
Modules/Adapters/GdalAdapters/src/otbOGRFeatureWrapper.cxx
+4
-2
Modules/Adapters/GdalAdapters/src/otbOGRLayerWrapper.cxx
Modules/Adapters/GdalAdapters/src/otbOGRLayerWrapper.cxx
+5
-0
Modules/Core/VectorDataBase/include/otbVectorDataKeywordlist.h
...es/Core/VectorDataBase/include/otbVectorDataKeywordlist.h
+4
-0
Modules/IO/TestKernel/src/otbTestDriver.cxx
Modules/IO/TestKernel/src/otbTestDriver.cxx
+5
-0
Modules/IO/TestKernel/src/otbTestHelper.cxx
Modules/IO/TestKernel/src/otbTestHelper.cxx
+5
-0
No files found.
Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.txx
View file @
731dbfdd
...
...
@@ -39,10 +39,14 @@
// #include "boost/type_traits/is_array.hpp"
#include "boost/type_traits/is_contiguous.h" // from OTB actually
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#include "ogr_feature.h" // OGRFeature::*field_getters
#include "ogr_feature.h"
// OGRFeature::*field_getters
#pragma GCC diagnostic pop
#else
#include "ogr_feature.h" // OGRFeature::*field_getters
#endif
#include "cpl_string.h" // CSLCount
#include "otbOGRHelpers.h"
...
...
Modules/Adapters/GdalAdapters/src/otbOGRFeatureWrapper.cxx
View file @
731dbfdd
...
...
@@ -22,12 +22,14 @@
#include "otbOGRFeatureWrapper.h"
#include <boost/bind.hpp>
#include <boost/make_shared.hpp>
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#include "ogr_feature.h"
#pragma GCC diagnostic pop
#else
#include "ogr_feature.h"
#endif
#include "cpl_error.h"
#include "itkMacro.h"
...
...
Modules/Adapters/GdalAdapters/src/otbOGRLayerWrapper.cxx
View file @
731dbfdd
...
...
@@ -23,10 +23,15 @@
#include <cassert>
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#include "ogrsf_frmts.h" // OGRDataSource & OGRLayer
#pragma GCC diagnostic pop
#else
#include "ogrsf_frmts.h" // OGRDataSource & OGRLayer
#endif
#include "otbOGRDataSourceWrapper.h"
...
...
Modules/Core/VectorDataBase/include/otbVectorDataKeywordlist.h
View file @
731dbfdd
...
...
@@ -21,10 +21,14 @@
#include "itkLightObject.h"
#include "itkObjectFactory.h"
#include <vector>
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#include "ogr_feature.h"
#pragma GCC diagnostic pop
#else
#include "ogr_feature.h"
#endif
namespace
otb
{
...
...
Modules/IO/TestKernel/src/otbTestDriver.cxx
View file @
731dbfdd
...
...
@@ -31,10 +31,15 @@
// include SharedForward to avoid duplicating the code which find the library path variable
// name and the path separator
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
#include "itksys/SharedForward.h"
#pragma GCC diagnostic pop
#else
#include "itksys/SharedForward.h"
#endif
#include "itksys/Process.h"
// Temporary definition of otbTestMain
...
...
Modules/IO/TestKernel/src/otbTestHelper.cxx
View file @
731dbfdd
...
...
@@ -45,10 +45,15 @@
#include "cpl_string.h"
#include "cpl_multiproc.h"
#include "ogr_api.h"
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#include "ogrsf_frmts.h"
#pragma GCC diagnostic pop
#else
#include "ogrsf_frmts.h"
#endif
#define otbPrintDiff(comment, refStr, testStr) \
std::cout << " ---- '" << comment << "' checking ---------------------------" << std::endl; \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment