[svn-commits] r2298 - svn:log

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Sep 10 11:33:35 CDT 2012


Author: rmudgett
Revision: 2298
Modified property: svn:log

Modified: svn:log at Mon Sep 10 11:33:35 2012
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Mon Sep 10 11:33:35 2012
@@ -1,6 +1,18 @@
 Fix compile error in pridump.c.
 
+With gcc 4.6.3 it's possible to get the following error:
+
+  $ make
+  gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC  -O2  -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o pridump.c
+  pridump.c: In function \u2018pri_bridge\u2019:
+  pridump.c:117:1: error: no return statement in function returning non-void [-Werror=return-type]
+  cc1: all warnings being treated as errors
+  make: *** [pridump.o] Error 1
+
+Changing the function return value to void fixes the issue since there
+were no places in the code that used the return value.
+
 (closes issue PRI-143)
-Reported by: Shaun Ruffell
+Reported by: Birger "WIMPy" Harzenetter
 Patches:
       0001-Fix-no-return-statement-in-function-returning-non-vo.patch (license #5417) patch uploaded by Shaun Ruffell




More information about the svn-commits mailing list