Closed cviebig closed 5 years ago
I'm sorry to say I can't reproduce this at the moment, though I imagine it might depend on what system you were building on. Given the error message, I suppose this flag isn't (wasn't?) supported by that version of gcc. If you still find this happening, feel free to re-open it, ideally with some more details on your setup.
On my system the build fails on commit 23b2b1f51c3b0299a2d8f73b04c33c86c9746bb0 and
gcc version 5.3.0
with:Are you aware of any changes in gcc on that option since June 2015? If I remember correctly I was able to build imath back then.
After removing that option the build continues to fail with missing
<getopt.h>
. This can be resolved according to an answer on StackOverfow [1].I've attached the diff informally below.
Best regards Christoph
[1] StackOverflow: Getopt not included? implicit declaration of function ‘getopt’
Changes: