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
David Youssefi
otb
Commits
76f63efc
Commit
76f63efc
authored
13 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
BUG: backport ITKv4 fix for clang build
See: *
http://review.source.kitware.com/#change,3447
*
http://llvm.org/bugs/show_bug.cgi?id=9395
parent
c8fcb53a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Utilities/ITK/Code/Common/itkImageSource.h
+1
-1
1 addition, 1 deletion
Utilities/ITK/Code/Common/itkImageSource.h
Utilities/ITK/Code/Common/itkMacro.h
+0
-17
0 additions, 17 deletions
Utilities/ITK/Code/Common/itkMacro.h
with
1 addition
and
18 deletions
Utilities/ITK/Code/Common/itkImageSource.h
+
1
−
1
View file @
76f63efc
...
...
@@ -229,7 +229,7 @@ protected:
* \sa GenerateData(), SplitRequestedRegion() */
virtual
void
ThreadedGenerateData
(
const
OutputImageRegionType
&
outputRegionForThread
,
int
threadId
)
ITK_NO_RETURN
;
int
threadId
);
/** The GenerateData method normally allocates the buffers for all of the
...
...
This diff is collapsed.
Click to expand it.
Utilities/ITK/Code/Common/itkMacro.h
+
0
−
17
View file @
76f63efc
...
...
@@ -960,23 +960,6 @@ private:
# define ITK_TEMPLATE_EXPLICIT 0
#endif
//----------------------------------------------------------------------------
// Macro to declare that a function does not return. __attribute__((noreturn))
// On some compiler, functions that do not return (ex: exit(0)) must
// have the noreturn attribute. Otherwise, a warning is raised. Use
// that macro to avoid those warnings. GCC defines the attribute
// noreturn for versions 2.5 and higher.
#if defined(__GNUC__)
# if (((__GNUC__ == 2) && (__GNUC_MINOR__ >= 5)) || (__GNUC__ >= 3))
# define ITK_NO_RETURN \
__attribute__ ((noreturn))
# endif
#else
# define ITK_NO_RETURN
#endif
#ifdef ITK_USE_TEMPLATE_META_PROGRAMMING_LOOP_UNROLLING
//--------------------------------------------------------------------------------
// Helper macros for Template Meta-Programming techniques of for-loops unrolling
...
...
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