aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/inclhack.def
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2013-05-17 08:39:37 +0000
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2013-05-17 08:39:37 +0000
commita56d15105633380d0c61e6bf4ae3674296f5652f (patch)
tree5e7bf9f23220d2040fcfadb13f809b682d1428b6 /fixincludes/inclhack.def
parentaf9942d1bd642e00f5905d839e10e70368815a49 (diff)
solaris_pow_int_overload should use __cplusplus
* inclhack.def (solaris_pow_int_overload): Update comment. Change guard to match <cmath>. * fixincl.x: Regenerate. * tests/base/iso/math_iso.h [SOLARIS_POW_INT_OVERLOAD_CHECK]: Matching change. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@199003 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r--fixincludes/inclhack.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index 253df68997c..d912ccc0cc6 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -3474,7 +3474,7 @@ fix = {
/*
- * The pow overloads with int were removed in C++ 2011.
+ * The pow overloads with int were removed in C++ 2011 DR 550.
*/
fix = {
hackname = solaris_pow_int_overload;
@@ -3483,7 +3483,7 @@ fix = {
select = "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\)"
" *\\{[^{}]*\n[^{}]*\\}";
c_fix = format;
- c_fix_arg = "#ifndef __GXX_EXPERIMENTAL_CXX0X__\n%0\n#endif";
+ c_fix_arg = "#if __cplusplus < 201103L\n%0\n#endif";
test_text =
" inline long double pow(long double __X, int __Y) { return\n"