vemax78 Profile Topics Started Replies Created Engagements Favorites Search replies: Forum Replies Created Log In Register Lost Password Viewing 1 post (of 1 total) Author Posts June 25, 2017 at 11:49 in reply to: Compile error if i use rwlock or rcu into debug mode #11576 vemax78Participant Thank you for the response. I try with this example: void __attribute__((optimize(“O2”))) func(rwlock_t* lock) { write_lock(lock); write_unlock(lock); } but continue with same error in “write_unlock” call. All ok if i set -O2 in Makefile. Author Posts Log In Register Lost Password Viewing 1 post (of 1 total)