[Users] failed build on local mac osx yosemite [SOLUTION for running HILBERT using macports]

Barry Wardell barry.wardell at gmail.com
Thu May 28 10:50:51 CDT 2015


On Thu, May 28, 2015 at 10:57 AM, Erik Schnetter <schnetter at cct.lsu.edu>
wrote:

> 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.
>

This sounds like a good idea to me. I'd suggest only doing the #undef for
version 1.8.15 with the following check

((H5_VERS_MAJOR==1) && (H5_VERS_MINOR==8) && (H5_VERS_RELEASE==15)

since only that particular version is affected.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20150528/bf32d9f5/attachment.html 


More information about the Users mailing list