Opened 11 years ago

Closed 11 years ago

#37770 closed defect (duplicate)

cast/lvalue bug not yet solved out

Reported by: lfpmelzi@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: netbsd-iscsi-lib

Description (last modified by larryv (Lawrence Velázquez))

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.

Change History (1)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: iscsi removed
Port: netbsd-iscsi-lib added; netbsd-iscsi-initiator removed
Resolution: duplicate
Status: newclosed

Duplicate of #33188.

Note: See TracTickets for help on using tickets.