Custom Query (541 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10 - 12 of 541)

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Ticket Resolution Summary Owner Reporter
#134 fixed getfileII.h:50: warning: conflicting types for built-in function ‘log’ somebody baker
Description

gcc version 4.2.1 (Mac OS X 10.5.8) issues warnings like:

In file included from getfileII.c:35:
getfileII.h:50: warning: conflicting types for built-in function ‘log’

This is because the src/data_exchange/getfileII program defines its own log() function for writing log file messages. This is harmless, but potentially prevents the program from ever using the C library log() function in math.h.

I suggest at some point that the log() function defined in the src/data_exchange/getfileII program be renamed to something like put_log().

#135 fixed platform.h:39:5: error: #error Platform not defined! somebody baker
Description

gcc version 4.2.1 (Mac OS X 10.5.8) has errors when compiling src/data_sources/grf2ew, beginning with:

In file included from main.h:18,
                 from main.c:10:
platform.h:39:5: error: #error Platform not defined!

This is because _MACOSX is not a recognized platform definition macro in src/data_sources/grf2ew/platform.h. I assume Mac OS X is equivalent to LINUX from Earthworm's point of view, so I added _MACOSX as a recognized platform definition macro in src/data_sources/grf2ew/platform.h and src/data_sources/grf2ew/sock.h:

$ diff -u platform.h{.original,}
--- platform.h.original	2011-07-26 15:17:51.000000000 -0700
+++ platform.h	2011-07-26 15:21:43.000000000 -0700
@@ -21,21 +21,27 @@
 #   if !defined (WIN32)
 #       define WIN32
 #   endif
-
 #endif
+
 #if defined (_LINUX)
 #   if !defined (LINUX)
 #       define LINUX
 #   endif
 #endif
 
+#if defined (_MACOSX)
+#   if !defined (MACOSX)
+#       define MACOSX
+#   endif
+#endif
+
 #if defined (_DOS) || defined(DOS)
 #   if !defined (DOS16)
 #       define DOS16
 #   endif
 #endif
 
-#if !defined (SOLARIS) && !defined (WIN32) && !defined (LINUX) && !defined (DOS)
+#if !defined (SOLARIS) && !defined (WIN32) && !defined (LINUX) && !defined (MACOSX) && !defined (DOS)
 #   error Platform not defined!
 #endif
 
@@ -67,7 +73,7 @@
 #endif										/* SOLARIS */
 
 /* Linux --------------------------------------------------------------*/
-#if defined (LINUX)
+#if defined (LINUX) || defined (MACOSX)
 
 #include <unistd.h>
 #include <sys/types.h>
@@ -85,7 +91,7 @@
 #   elif defined (sparc)
 #       define SPARC_UNIX32
 #   endif
-#endif										/* LINUX */
+#endif										/* LINUX, MACOSX */
 
 /* Windows 32 bit -----------------------------------------------------*/
$ diff -u sock.h{.original,}
--- sock.h.original	2011-07-26 15:22:54.000000000 -0700
+++ sock.h	2011-07-26 15:23:41.000000000 -0700
@@ -12,7 +12,7 @@
 #include <earthworm.h>
 #include "platform.h"
 
-#if defined (LINUX) || defined (SOLARIS)
+#if defined (LINUX) || defined (MACOSX) || defined (SOLARIS)
 #	include <sys/socket.h>
 #	include <netinet/in.h>
 #	include <arpa/inet.h>
#136 fixed src/data_exchange/sendfileII/makefile.ux is missing somebody baker
Description

"make unix" of sendfileII fails:

------
Making unix_modules in:
/Users/baker/Desktop/Software/Earthworm/earthworm-7.5svn/src/data_exchange/sendfileII
make[2]: makefile.ux: No such file or directory
make[2]: *** No rule to make target `makefile.ux'.  Stop.
------

That is because there is no src/data_exchange/sendfileII/makefile.ux:

$ ls src/data_exchange/sendfileII
README		fopen_win.c	sendfilemt.c	sendfilemt.h	socket_win.c	thread_sol.c
config.c	makefile.nt	sendfilemt.d	socket.c	status.c	thread_win.c
fopen_sol.c	makefile.sol	sendfilemt.desc	socket_sol.c	thread.c
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Note: See TracQuery for help on using queries.