[MacPorts] #37770: cast/lvalue bug not yet solved out
MacPorts
noreply at macports.org
Wed Jan 23 19:39:25 PST 2013
#37770: cast/lvalue bug not yet solved out
-------------------------------+--------------------------------
Reporter: lfpmelzi@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: duplicate | Keywords:
Port: netbsd-iscsi-lib |
-------------------------------+--------------------------------
Changes (by larryv@…):
* status: new => closed
* keywords: iscsi =>
* resolution: => duplicate
* port: netbsd-iscsi-initiator => netbsd-iscsi-lib
Old description:
> I know this bug has been reported twice yet, but it seems like no one is
> caring about, so I add my report.
> same cast/lvalue bug applies.
>
> info:build disk.c:810:38: error: assignment to cast is illegal, lvalue
> casts are not supported
> :info:build *((uint64_t *) (void *)data + 8) = (uint64_t)
> ISCSI_HTONLL(key);
> :info:build
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../include
> -I../../include -I/opt/local/include -pipe -O2 -arch x86_64 -MT
> libiscsi_la-strlcpy.lo -MD -MP -MF .deps/libiscsi_la-strlcpy.Tpo -c
> strlcpy.c -o libiscsi_la-strlcpy.o >/dev/null 2>&1
> :info:build 1 error generated.
New description:
I know this bug has been reported twice yet, but it seems like no one is
caring about, so I add my report.
same cast/lvalue bug applies.
{{{
info:build disk.c:810:38: error: assignment to cast is illegal, lvalue
casts are not supported
:info:build *((uint64_t *) (void *)data + 8) = (uint64_t)
ISCSI_HTONLL(key);
:info:build
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../include
-I../../include -I/opt/local/include -pipe -O2 -arch x86_64 -MT
libiscsi_la-strlcpy.lo -MD -MP -MF .deps/libiscsi_la-strlcpy.Tpo -c
strlcpy.c -o libiscsi_la-strlcpy.o >/dev/null 2>&1
:info:build 1 error generated.
}}}
--
Comment:
Duplicate of #33188.
--
Ticket URL: <https://trac.macports.org/ticket/37770#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list