Skip to contentSkip to conversation

Problems to compile modem p3d

DISCUSSION Jonathan Naylor 2 participants 2 messages Jan 26, 2003 – Feb 1, 2003

lore
Share & tools
lore
#0 lore raw

Hi Luc et al

I have a quick and dirty patch which generates warnings but allows the package to
compile. I think there is a need for a 0.2 release as newer versions of GCC throw
a lot of warnings when compiling it.

diag.c 2003-01-26 16:49:01.000000000 +0100 renamed from diag.c.old 2003-01-26 16:47:22.000000000 +0100 +1 -1
@@ -123,7 +123,7 @@
        { 0, 0, 0, 0, },
         0,
         NULL, NULL, 0, 0,
-        { }, { }, PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER
+        0, 0, PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER
 };
 
 /* 

----------------------------------------------------------------------
*/

Jonathan HB9DRD/G4KLX

#1 lore raw

Seems to work for me!

Thanks, Luc

Quoted 23 lines · Jonathan Naylor

Hi Luc et al

I have a quick and dirty patch which generates warnings but allows the package to
compile. I think there is a need for a 0.2 release as newer versions of GCC throw
a lot of warnings when compiling it.

diag.c 2003-01-26 16:49:01.000000000 +0100 renamed from diag.c.old 2003-01-26 16:47:22.000000000 +0100 +1 -2
@@ -123,7 +123,7 @@
        { 0, 0, 0, 0, },
         0,
         NULL, NULL, 0, 0,
-        { }, { }, PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER
+        0, 0, PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER
 };
 
 /*
----------------------------------------------------------------------

*/

Jonathan HB9DRD/G4KLX