DescriptionChange the name of cas() in cc to newcase() to avoid a NIX conflict.
cas() is used in cc to create a new Case struct. There is a name
conflict in that cas() is a commonly-used
name for compare and swap. Since cas() is only used internally
in the compiler in 3 places, change the name to avoid a wider
conflict with the NIX runtime. This issue might well come up on
other OSes in the future anyway, as the name is fairly common.
Patch Set 1 #Patch Set 2 : diff -r 3fe4f3f34e9b https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 3fe4f3f34e9b https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 3f647c45f84d https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 3f647c45f84d https://go.googlecode.com/hg/ #Patch Set 6 : diff -r 3f647c45f84d https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|