<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.msonormal0, li.msonormal0, div.msonormal0
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif}
span.EmailStyle18
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0" vlink="purple" link="blue" lang="EN-US">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
<div>I have run into a hurdle compiling 5.3 on a Linux box with gcc version 5.3.0 (cmake 3.4.1)<br>
<br>
the error is:<br>
<br>
/dev/shm/jfavre/ParaView/ParaView-v5.3.0/VTK/ThirdParty/hdf5/vtkhdf5/src/H5detect.c:87:19: error: unknown type name ‘sigjmp_buf’<br>
 #define H5JMP_BUF sigjmp_buf<br>
                   ^<br>
/dev/shm/jfavre/ParaView/ParaView-v5.3.0/VTK/ThirdParty/hdf5/vtkhdf5/src/H5detect.c:163:8: note: in expansion of macro ‘H5JMP_BUF’<br>
 static H5JMP_BUF jbuf_g;<br>
<br>
the error is caused by using the compilation flag -std=c99. Replacing it with -std=gnu99, then the compilation succeeds. Consequently, I patched the file VTK/ThirdParty/hdf5/vtkhdf5/CMakeLists.txt<br>
<br>
-      set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=c99 -fomit-frame-pointer -finline-functions -fno-common")<br>
+      set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=gnu99 -fomit-frame-pointer -finline-functions -fno-common")<br>
<br>
I am not sure if this is applicable to other systems. This posting is for documentation. It may be useful to someone else.<br>
<br>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">-----------------<br>
Jean/CSCS</div>
</span></font></div>
</div>
</div>
</body>
</html>