Created
April 7, 2011 22:23
-
-
Save marijnh/908913 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cc1plus: warnings being treated as errors | |
In file included from ./src/rt/rust_internal.h:48, | |
from ./src/rt/rust.cpp:1: | |
./src/rt/sync/lock_free_queue.h: In member function ‘bool lock_free_queue<T>::compare_and_swap(lock_free_queue<T>::pointer_t*, lock_free_queue<T>::pointer_t*, lock_free_queue<T>::pointer_t) [with T = rust_message*]’: | |
./src/rt/sync/lock_free_queue.h:154: instantiated from ‘void lock_free_queue<T>::enqueue(T) [with T = rust_message*]’ | |
./src/rt/rust_message.h:119: instantiated from here | |
./src/rt/sync/lock_free_queue.h:91: error: dereferencing type-punned pointer will break strict-aliasing rules | |
make: *** [rt/rust.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment