Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
boost
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ifs
coast
3rdparty
boost
Commits
e00f06a2
Commit
e00f06a2
authored
9 years ago
by
Marcel Huber
Browse files
Options
Downloads
Patches
Plain Diff
only use diagnostic pragmas on gcc >=4.6
Change-Id: I8178cfe772d12acf30d025d947bfe2f98da9fd9f
parent
eafd2d57
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
boost/shared_ptr.hpp
+4
-0
4 additions, 0 deletions
boost/shared_ptr.hpp
with
4 additions
and
0 deletions
boost/shared_ptr.hpp
+
4
−
0
View file @
e00f06a2
...
...
@@ -14,13 +14,17 @@
// See http://www.boost.org/libs/smart_ptr/shared_ptr.htm for documentation.
//
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
// BEGIN ignore deprecation warnings about std::auto_ptr
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#include
<boost/smart_ptr/shared_ptr.hpp>
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
// END ignore deprecation warnings about std::auto_ptr
#pragma GCC diagnostic pop
#endif
#endif // #ifndef BOOST_SHARED_PTR_HPP_INCLUDED
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