Valgrind: r16441 - in /branches/VALGRIND_3_13_BRANCH: ./ include/pub_tool_basics.h

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Valgrind: r16441 - in /branches/VALGRIND_3_13_BRANCH: ./ include/pub_tool_basics.h

svn-2
Author: sewardj
Date: Fri Jun  9 14:33:37 2017
New Revision: 16441

Log:
Merge from trunk, r16437:
  Fix pub_tool_basics.h build issue with g++ 4.4.7.

Modified:
    branches/VALGRIND_3_13_BRANCH/   (props changed)
    branches/VALGRIND_3_13_BRANCH/include/pub_tool_basics.h

Modified: branches/VALGRIND_3_13_BRANCH/include/pub_tool_basics.h
==============================================================================
--- branches/VALGRIND_3_13_BRANCH/include/pub_tool_basics.h (original)
+++ branches/VALGRIND_3_13_BRANCH/include/pub_tool_basics.h Fri Jun  9 14:33:37 2017
@@ -480,7 +480,8 @@
       union {                                \
          void *in;                           \
          D out;                              \
-      } var = {.in = (void *) (x)}; var.out; \
+      } var;                                 \
+      var.in = (void *) (x); var.out;        \
    })
 
 // Poor man's static assert


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers