[MacPorts] #64902: openjdk11 @11.0.14.1_1: error: use of undeclared identifier 'assert'

MacPorts noreply at macports.org
Wed Mar 30 04:21:18 UTC 2022


#64902: openjdk11 @11.0.14.1_1: error: use of undeclared identifier 'assert'
------------------------+----------------------
  Reporter:  dbl001     |      Owner:  breun
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.2
Resolution:             |   Keywords:
      Port:  openjdk11  |
------------------------+----------------------

Comment (by usersxx):

 I don't have a system with MacOS 12.3 installed but after checking the
 source code, The build system chooses assert.h file even if #include
 <assert.h> or #include <cassert>" isn't included. Have you tried using
 trace mode by using `sudo port -t install openjdk11`.

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


More information about the macports-tickets mailing list