Skip to content

Instantly share code, notes, and snippets.

@kempj
Created November 25, 2013 23:31
Show Gist options
  • Save kempj/7650814 to your computer and use it in GitHub Desktop.
Save kempj/7650814 to your computer and use it in GitHub Desktop.
g++ -fPIC -c hpxMP.cpp -o hpxMP.o `pkg-config --cflags --libs hpx_application`
hpxMP.cpp: In function ‘int __ompc_single(int)’:
hpxMP.cpp:154:5: error: ‘lock_guard’ is not a member of ‘hpx::lcos::local::spinlock’
hpx::lcos::local::spinlock::lock_guard l(single_lock);
^
hpxMP.cpp:154:44: error: expected ‘;’ before ‘l’
hpx::lcos::local::spinlock::lock_guard l(single_lock);
^
hpxMP.cpp: In function ‘void __ompc_end_single(int)’:
hpxMP.cpp:169:5: error: ‘lock_guard’ is not a member of ‘hpx::lcos::local::spinlock’
hpx::lcos::local::spinlock::lock_guard l(single_lock);
^
hpxMP.cpp:169:44: error: expected ‘;’ before ‘l’
hpx::lcos::local::spinlock::lock_guard l(single_lock);
^
make: *** [hpxMP.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment