[asterisk-r2] openr2 1.3.1 and gcc 4.6

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Sep 15 03:34:51 CDT 2011


Hi,

Matias Klose reported[1] that OpenR2 fails to build with gcc 4.6 as it is
more pedantic with unused variabled - variables that get assigned to but
not used later, such as:

  int a;

  a = 1;

  // No more uses of a

His patch, with slightly nicer reformatting:

http://anonscm.debian.org/viewvc/pkg-voip/openr2/trunk/debian/patches/gcc46?view=markup

Looks like copy&paste from queue_write() or whatever.

[1] http://bugs.debian.org/625393

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-r2 mailing list