[MacPorts] #36747: phantomjs @1.7.0_0 build error - g++ unrecognised option `-fconstant-cfstrings`

MacPorts noreply at macports.org
Fri Aug 4 06:09:07 UTC 2023


#36747: phantomjs @1.7.0_0 build error - g++ unrecognised option `-fconstant-
cfstrings`
------------------------+--------------------------------
  Reporter:  daniel@…   |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.2
Resolution:             |   Keywords:
      Port:  phantomjs  |
------------------------+--------------------------------

Comment (by barracuda156):

 Replying to [comment:4 jmroot]:
 > Only Apple compilers accept -fconstant-cfstrings, so a workaround would
 be to deselect FSF gcc.

 Documentation claims those are/were supported by [some] non-Apple
 compilers.
 https://releases.llvm.org/5.0.2/tools/clang/docs/genindex.html
 https://gcc.gnu.org/onlinedocs/gcc-6.5.0/gcc/Objective-C-and-Objective-
 C_002b_002b-Dialect-Options.html

 The flag is not accepted by gcc12 though.

-- 
Ticket URL: <https://trac.macports.org/ticket/36747#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list