Opened 6 years ago
Closed 6 years ago
#57523 closed defect (fixed)
ctlang: fatal error: 'mutex' file not found
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | ctlang openexr |
Description
ctlang fails to build on libstdc++ systems:
/opt/local/include/OpenEXR/IlmThreadMutex.h:84:13: fatal error: 'mutex' file not found # include <mutex> ^ 1 error generated.
mutex is C++11... openexr uses the cxx11 1.1 portgroup and imposes a further requirement of C++14, but ctlang doesn't. I wonder if everything that uses openexr now needs to use that portgroup and impose the C++14 requirement as well.
Change History (2)
comment:1 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
comment:2 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I do not believe that everything that uses openexr requires C++11.
I believe it must be taken on a case by case basis depending on which feature of OpenEXR it uses.