summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-16 13:57:42 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-16 13:57:42 +0300
commite01f7e7013d523856ff11af852a8f28fa4919b25 (patch)
treefc9ed02da9ec9b29764f2d1d6c3dba99551d264e
parentaf9a54a3b7615d496254eadabfadb7ad0638dc4b (diff)
downloaddeheader-e01f7e7013d523856ff11af852a8f28fa4919b25.tar.gz
deheader-e01f7e7013d523856ff11af852a8f28fa4919b25.tar.bz2
deheader-e01f7e7013d523856ff11af852a8f28fa4919b25.tar.xz
deheader-e01f7e7013d523856ff11af852a8f28fa4919b25.zip
Use flag -std=c++98 in stage with -s parameter unused.
-rwxr-xr-xdeheader2
1 files changed, 1 insertions, 1 deletions
diff --git a/deheader b/deheader
index 05d93fe..a771e78 100755
--- a/deheader
+++ b/deheader
@@ -1417,7 +1417,7 @@ def testcompile(source, compiler, std, defines, maker, msg="", verbosity=0, show
if std == "":
explain = "succeeded"
else:
- command = "{0} {1} {2} -o {3} {4}".format(compiler, defines, maker, tmpname, source)
+ command = "{0} {1} {2} {3} -o {4} {5}".format(compiler, "-std=c++98", defines, maker, tmpname, source)
(status, output) = getstatusoutput(command)
end = time.time()
if status: