Opened 12 years ago
Last modified 12 years ago
#37770 closed defect
cast/lvalue bug not yet solved out — at Initial Version
Reported by: | lfpmelzi@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | netbsd-iscsi-lib |
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.
Note: See
TracTickets for help on using
tickets.