diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2020-09-17 16:48:28 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2020-09-18 05:20:32 +0000 |
commit | 95edba5453896ff66028bb06d1c3a5778f057645 (patch) | |
tree | cbe647c9d9bdf1cec885569db6293c9465f810e4 /tests | |
parent | 424ad8d8a0de8649948d139eb83c937927aa91b2 (diff) |
tests: Add 'std' prefix for printf() in blackbox::configure test
We need to use the 'std' namespace prefix for all functions
from the <cstdio> header. Otherwise the compilation may fails
on some toolchains (e.g. on Open Watcom).
Change-Id: I7824d96a9d0432c65e73f957653c865fd3754641
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/blackbox/testdata/configure/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/configure/main.cpp b/tests/auto/blackbox/testdata/configure/main.cpp index c7213c768..a91914f73 100644 --- a/tests/auto/blackbox/testdata/configure/main.cpp +++ b/tests/auto/blackbox/testdata/configure/main.cpp @@ -30,7 +30,7 @@ int main() { - printf("%s..\n", TEXT); + std::printf("%s..\n", TEXT); return 0; } |