https://bugs.kde.org/show_bug.cgi?id=357010

--- Comment #2 from Tatyana <tatyana.a.mine...@intel.com> ---
Comment on attachment 96238
  --> https://bugs.kde.org/attachment.cgi?id=96238
Proposed workaround

>--- valgrind-3.11.0/drd/tests/std_string.cpp   2015-09-08 16:23:31.000000000 
>+0300
>+++ valgrind-3.11.0/drd/tests/std_string.cpp   2015-12-15 21:47:14.114795475 
>+0300
>@@ -35,7 +35,13 @@
> {
>   for (int i = 0; i < 100; i++) {
>     std::string id("000");
>+#ifdef __INTEL_COMPILER
>+// Intel compiler (version 15.0.3 - 16.0.0) fails to compile the following 
>line due to a compiler bug
>+// A known workaround is to use double instead of int
>+    id.append(1.0, 'a' + i);
>+#else
>     id.append(1, 'a' + i);
>+#endif
>     std::list<std::string> record;
>     record.push_back("some data");
>     addRecord();

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to