vemax78

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Compile error if i use rwlock or rcu into debug mode #11576
    vemax78
    Participant

    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.

     

     

     

Viewing 1 post (of 1 total)