I am getting build failure repeatedly due to this annoying -Werror. Each time any warning appears in code, theĀ compilationĀ fails treating it as error, e.g.

/usr/src/svn-src/freeswitch/src/mod/applications/mod_voicemail_ivr/mod_voicemail_ivr.c:57:6: error: variable 'argc' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

Can you guy help me how to get rid of it? I tried finding and replacing -Werror with -Wall but there are so many make files to edit..

Thank you.


--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com