Re: How to remopve "volatile" qualifier from pointer without warning from gcc?

2011-10-30 Thread mdf
2011/10/30 Lev Serebryakov : > Hello, Hackers. > >  I need to pass "volatile void *" to API function, which takes > "void*". gcc (on FreeBSD 8.2) emits warning, and as in FreeBSD-styed > code warnings are treated as errors, program could not be built. > >  Manual casting gives warning, too... See

How to remopve "volatile" qualifier from pointer without warning from gcc?

2011-10-30 Thread Lev Serebryakov
Hello, Hackers. I need to pass "volatile void *" to API function, which takes "void*". gcc (on FreeBSD 8.2) emits warning, and as in FreeBSD-styed code warnings are treated as errors, program could not be built. Manual casting gives warning, too... -- // Black Lion AKA Lev Serebryakov