Created
December 2, 2012 23:00
-
-
Save JasonGross/4191478 to your computer and use it in GitHub Desktop.
g++ cilk errors
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
In file included from ./fake_mutex.hpp:43:0, | |
from abort.cpp:24: | |
./fake_mutex.hpp: In member function ‘virtual void cilkscreen::fake_mutex::lock()’: | |
/afs/csail/proj/courses/6.172/cilkutil/include/cilktools/cilkscreen.h:40:75: error: left operand of comma operator has no effect [-Werror=unused-value] | |
# define __cilkscreen_metacall(annotation,expr) (annotation, (void) (expr)) | |
^ | |
/afs/csail/proj/courses/6.172/cilkutil/include/cilktools/cilkscreen.h:73:5: note: in expansion of macro '__cilkscreen_metacall' | |
__cilkscreen_metacall("cilkscreen_acquire_lock", (lock)) | |
^ | |
./fake_mutex.hpp:57:7: note: in expansion of macro '__cilkscreen_acquire_lock' | |
__cilkscreen_acquire_lock(&lock_val); | |
^ | |
./fake_mutex.hpp: In member function ‘virtual void cilkscreen::fake_mutex::unlock()’: | |
/afs/csail/proj/courses/6.172/cilkutil/include/cilktools/cilkscreen.h:40:75: error: left operand of comma operator has no effect [-Werror=unused-value] | |
# define __cilkscreen_metacall(annotation,expr) (annotation, (void) (expr)) | |
^ | |
/afs/csail/proj/courses/6.172/cilkutil/include/cilktools/cilkscreen.h:76:5: note: in expansion of macro '__cilkscreen_metacall' | |
__cilkscreen_metacall("cilkscreen_release_lock", (lock)) | |
^ | |
./fake_mutex.hpp:68:7: note: in expansion of macro '__cilkscreen_release_lock' | |
__cilkscreen_release_lock(&lock_val); | |
^ | |
cc1plus: all warnings being treated as errors | |
make: *** [abort.o] Error 1 | |
"/afs/csail.mit.edu/proj/courses/6.172/gcc-cilkplus/bin/g++" -DDEBUG -O0 -std=c++11 -Wall -g -gdwarf-3 -fverbose-asm -I/afs/csail/proj/courses/6.172/cilkutil/include/ -ldl -lcilkrts -Wall -Werror -DDEBUG_VERBOSE=1 -Wall -Werror -DDEBUG_VERBOSE=1 -c abort.cpp -o abort.o | |
In file included from ./fake_mutex.hpp:43:0, | |
from abort.cpp:24: | |
./fake_mutex.hpp: In member function ‘virtual void cilkscreen::fake_mutex::lock()’: | |
/afs/csail/proj/courses/6.172/cilkutil/include/cilktools/cilkscreen.h:40:75: error: left operand of comma operator has no effect [-Werror=unused-value] | |
# define __cilkscreen_metacall(annotation,expr) (annotation, (void) (expr)) | |
^ | |
/afs/csail/proj/courses/6.172/cilkutil/include/cilktools/cilkscreen.h:73:5: note: in expansion of macro '__cilkscreen_metacall' | |
__cilkscreen_metacall("cilkscreen_acquire_lock", (lock)) | |
^ | |
./fake_mutex.hpp:57:7: note: in expansion of macro '__cilkscreen_acquire_lock' | |
__cilkscreen_acquire_lock(&lock_val); | |
^ | |
./fake_mutex.hpp: In member function ‘virtual void cilkscreen::fake_mutex::unlock()’: | |
/afs/csail/proj/courses/6.172/cilkutil/include/cilktools/cilkscreen.h:40:75: error: left operand of comma operator has no effect [-Werror=unused-value] | |
# define __cilkscreen_metacall(annotation,expr) (annotation, (void) (expr)) | |
^ | |
/afs/csail/proj/courses/6.172/cilkutil/include/cilktools/cilkscreen.h:76:5: note: in expansion of macro '__cilkscreen_metacall' | |
__cilkscreen_metacall("cilkscreen_release_lock", (lock)) | |
^ | |
./fake_mutex.hpp:68:7: note: in expansion of macro '__cilkscreen_release_lock' | |
__cilkscreen_release_lock(&lock_val); | |
^ | |
cc1plus: all warnings being treated as errors | |
make: *** [abort.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment