summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-02 16:31:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-02 16:49:48 +0200
commitc6e2b7ac2ac02b714e4c3d894d68bc3e5f20f685 (patch)
tree3c91b06fa293f4f2e7a8319fb2aa2199185f5c28 /boost
parentabb6ab4145b49d1320637792ec8f858b7c9156fe (diff)
Tweak a second time the code to silence a warning
...to avoid "functions that differ only in their return type cannot be overloaded" errors (as emitted by Clang trunk towards 3.4). Change-Id: I89909e88211a0da06fd0197abeb05f44c18b1032
Diffstat (limited to 'boost')
-rw-r--r--boost/boost_1_44_0-gcc4.8.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/boost_1_44_0-gcc4.8.patch b/boost/boost_1_44_0-gcc4.8.patch
index 3039a314d881..700e2ff98bc5 100644
--- a/boost/boost_1_44_0-gcc4.8.patch
+++ b/boost/boost_1_44_0-gcc4.8.patch
@@ -164,8 +164,8 @@
&::boost::concepts::requirement_<ModelFnPtr>::failed> \
- BOOST_PP_CAT(boost_concept_check,__LINE__)
+ BOOST_PP_CAT(boost_concept_check,__LINE__); \
-+ BOOST_PP_CAT(boost_concept_check,__LINE__) BOOST_PP_CAT(boost_concept_check_dummy,__LINE__)(...)
-+ // silence -Werror=unused-local-typedefs (GCC 4.8) (and resulting Clang -Werror,-Wvexing-parse)
++ void BOOST_PP_CAT(boost_concept_check_dummy,__LINE__)(BOOST_PP_CAT(boost_concept_check,__LINE__) *)
++ // silence -Werror=unused-local-typedefs (GCC 4.8)
}}