[Freeswitch-users] Annoying error while compiling FreeSWITCH

Anthony Minessale anthony.minessale at gmail.com
Tue Jan 17 02:11:41 MSK 2012


no,

The solution is to fix the code and report the compilation errors as bugs.
 Warnings ARE errors.  We have a strict policy.


On Mon, Jan 16, 2012 at 4:01 PM, Muhammad Shahzad <
shaheryarkh at googlemail.com> wrote:

> 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 at hotmail.com
> Email: shaheryarkh at googlemail.com
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120116/801d481d/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list