Bug 1370 - [LLVM] error: explicitly assigning a variable of type 'uint128_t' (aka '__uint128_t') to itself
[LLVM] error: explicitly assigning a variable of type 'uint128_t' (aka '__uin...
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
ns-3-dev
All All
: P5 normal
Assigned To: Mathieu Lacage
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-22 06:27 UTC by Gustavo J. A. M. Carneiro
Modified: 2012-02-24 03:34 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo J. A. M. Carneiro 2012-02-22 06:27:25 UTC
Error with clang++:

../src/core/model/int64x64-128.cc:87:11: error: explicitly assigning a variable of type 'uint128_t' (aka '__uint128_t') to itself
      [-Werror,-Wself-assign]
      rem = rem;
      ~~~ ^ ~~~
1 error generated.

Just comment out the line is a solution?
Comment 1 Gustavo J. A. M. Carneiro 2012-02-22 08:59:55 UTC
I commented out the line and it passes the tests.
Comment 2 Mathieu Lacage 2012-02-24 03:34:58 UTC
changeset 5371c2273cf8