<div dir="ltr">On Thu, May 28, 2015 at 10:57 AM, Erik Schnetter <span dir="ltr">&lt;<a href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Originally, __attribute__ is a built-in keyword for the compiler. It is not a macro, as others suggested earlier. If you #define it to be empty, then the compiler will never see the keyword, as the preprocessor deletes it. So using #undef exactly undoes the action of the HDF5 header file, making the original keyword again visible to the compiler.</div></div></blockquote><div><br></div><div>This sounds like a good idea to me. I&#39;d suggest only doing the #undef for version 1.8.15 with the following checkĀ </div><div><br></div><div>((H5_VERS_MAJOR==1) &amp;&amp; (H5_VERS_MINOR==8) &amp;&amp; (H5_VERS_RELEASE==15)<br></div><div><br></div><div>since only that particular version is affected.</div></div></div></div>