From 38eddca9c26230ab0e6997f2c561cb786c23662b Mon Sep 17 00:00:00 2001 From: FoREacH Date: Thu, 8 Dec 2016 15:12:40 +0200 Subject: [PATCH] Fixed incorrect macro --- paddle/utils/Version.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/utils/Version.cpp b/paddle/utils/Version.cpp index ed4ae6115f..84060a1005 100644 --- a/paddle/utils/Version.cpp +++ b/paddle/utils/Version.cpp @@ -37,7 +37,7 @@ void printVersion(std::ostream& os) { #define xstr(s) str(s) #define str(s) #s - os << "paddle version: " << str(PADDLE_VERSION) << std::endl + os << "paddle version: " << xstr(PADDLE_VERSION) << std::endl << std::boolalpha << "\t" << "withGpu: " << version::isWithGpu() << std::endl << "\t" -- GitLab