You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system and processor architecture are you using (go env)?
Windows
What did you do?
(paraphrasing a verbal bug report from Quentin)
Try to build Go on windows with newer versions of gcc, in this case gcc 5.3.
Because gcc is run -Werror, newer warnings cause the build to fail.
In particular, passing the address of a "volatile long" (64-bit) to InterlockedExchangeAdd, InterlockedIncrement, and InterlockedDecrement produces a warning because they expect the address of a "volatile LONG" (32-bit).
What version of Go are you using (
go version
)?devel 1.8
What operating system and processor architecture are you using (
go env
)?Windows
What did you do?
(paraphrasing a verbal bug report from Quentin)
Try to build Go on windows with newer versions of gcc, in this case gcc 5.3.
Because gcc is run -Werror, newer warnings cause the build to fail.
In particular, passing the address of a "volatile long" (64-bit) to InterlockedExchangeAdd, InterlockedIncrement, and InterlockedDecrement produces a warning because they expect the address of a "volatile LONG" (32-bit).
See also https://msdn.microsoft.com/en-us/library/windows/desktop/ms683597(v=vs.85).aspx
The text was updated successfully, but these errors were encountered: