From 95edba5453896ff66028bb06d1c3a5778f057645 Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Thu, 17 Sep 2020 16:48:28 +0300 Subject: tests: Add 'std' prefix for printf() in blackbox::configure test We need to use the 'std' namespace prefix for all functions from the header. Otherwise the compilation may fails on some toolchains (e.g. on Open Watcom). Change-Id: I7824d96a9d0432c65e73f957653c865fd3754641 Reviewed-by: Ivan Komissarov --- tests/auto/blackbox/testdata/configure/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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; } -- cgit v1.2.3