Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Cabieces
otb
Commits
86382f4f
Commit
86382f4f
authored
10 years ago
by
Christophe Palmann
Browse files
Options
Downloads
Patches
Plain Diff
muParserX 3.0.3 : #defines for c++03 compatibility
parent
77bb1486
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Utilities/otbmuparserx/mpCompat.h
+46
-0
46 additions, 0 deletions
Utilities/otbmuparserx/mpCompat.h
Utilities/otbmuparserx/mpDefines.h
+1
-5
1 addition, 5 deletions
Utilities/otbmuparserx/mpDefines.h
Utilities/otbmuparserx/mpTypes.h
+1
-0
1 addition, 0 deletions
Utilities/otbmuparserx/mpTypes.h
with
48 additions
and
5 deletions
Utilities/otbmuparserx/mpCompat.h
0 → 100644
+
46
−
0
View file @
86382f4f
/*
__________ ____ ___
_____ __ _\______ \_____ _______ ______ __________\ \/ /
/ \| | \ ___/\__ \\_ __ \/ ___// __ \_ __ \ /
| Y Y \ | / | / __ \| | \/\___ \\ ___/| | \/ \
|__|_| /____/|____| (____ /__| /____ >\___ >__| /___/\ \
\/ \/ \/ \/ \_/
Copyright (C) 2014 Ingo Berg
All rights reserved.
muParserX - A C++ math parser library with array and string support
Copyright (c) 2013, Ingo Berg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef MUP_COMPAT_H
#define MUP_COMPAT_H
// This file contains code to maintain backwards compatibility with older compilers.
#if __cplusplus <= 199711L
#define override
#define unique_ptr auto_ptr
#define nullptr NULL
#endif
#endif
This diff is collapsed.
Click to expand it.
Utilities/otbmuparserx/mpDefines.h
+
1
−
5
View file @
86382f4f
...
...
@@ -41,10 +41,6 @@
#include
<cassert>
//OTB-TEAM
#define nullptr 0
#define unique_ptr auto_ptr
#define override
#if defined(_UNICODE)
#if !defined(_T)
...
...
@@ -66,7 +62,7 @@
#endif
/** \brief A macro containing the version of muParserX. */
#define MUP_PARSER_VERSION _T("3.0.
2
(2014
0714
; release)")
#define MUP_PARSER_VERSION _T("3.0.
3
(2014
1011
; release)")
/** \brief A macro for setting the parser namespace. */
#define MUP_NAMESPACE_START namespace mup {
...
...
This diff is collapsed.
Click to expand it.
Utilities/otbmuparserx/mpTypes.h
+
1
−
0
View file @
86382f4f
...
...
@@ -49,6 +49,7 @@
//--- muParserX framework ---------------------------------------------------
#include
"suSortPred.h"
// We need the string utils sorting predicates
#include
"mpCompat.h"
#include
"mpDefines.h"
#include
"mpMatrix.h"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment