#50983: clang fails with valid OpenMP pragma on py-graph-tool build --------------------------+-------------------------------- Reporter: s.t.smith@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.9 | --------------------------+-------------------------------- Comment (by s.t.smith@…): FWIW, the code compiles if the omp parallel clause "`if (parallel)`" is removed. This along with the error message "`error: expected expression`" suggests that clang is incorrectly interpreting the omp pragma "`if`" clause as the opening of a C++ "`if`" conditional. -- Ticket URL: <https://trac.macports.org/ticket/50983#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X