[MacPorts] #39664: mosml-dynlibs does not build: lvalue required as left operand of assignment
MacPorts
noreply at macports.org
Wed Jul 26 06:33:15 UTC 2023
#39664: mosml-dynlibs does not build: lvalue required as left operand of assignment
----------------------------+--------------------------------
Reporter: ryandesign | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: mosml-dynlibs |
----------------------------+--------------------------------
Comment (by barracuda156):
Ha, I thought this error was fixed in the source, but no: while gcc-4.2
builds it fine, gcc-12 errs out, like clang.
{{{
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_mosml/mosml-
dynlibs/work/mosml-
13c581aec46eea134e478f2e2b6456278e36ecce/src/dynlibs/mmysql'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_mosml/mosml-
dynlibs/work/compwrap/cc/opt/local/bin/gcc-mp-12 -Dunix -O2 -fno-defer-pop
-I/opt/local/include/mosml -I /opt/local/include/mysql57/mysql -c -o
mmysql.o mmysql.c
mmysql.c: In function 'dbresult_finalize':
mmysql.c:79:28: error: lvalue required as left operand of assignment
79 | DBresult_val(dbresval) = NULL;
| ^
mmysql.c:81:33: error: lvalue required as left operand of assignment
81 | DBresultindex_val(dbresval) = NULL;
| ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/39664#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list