On Thu, 2004-07-22 at 19:20 +0200, Jeroen Asselman wrote:
> Hi,
> 
> playing with your patch I noticed that you included regex.h multiple 
> times. downloads_cb2.c, downloads_cb.c and fileinfo_gui.c, it wouldn't 
> compile on OSX when those got included. Removing those and it compiles 
> fine again. What was your reason for including them there?
> 
> - Jeroen

The Regex toolbar in the downloads gui (entry box on the bottom) used
some regex code I think.  I'm not sure why it's in fileinfo_gui.c...
basically, I got a compilation error that said they were required so I
included it.  (It used to be included by some other file that was
included, probably downloads.h, so when I removed that include, the
dependencies became more obvious.

If you can get it to compile (on linux boxes) without regex.h in those
files, then I say go for it, but I think it's necessary there.  

Regardless, <regex.h> is a system file, why would including it make it
not compile on OSX?  (I don't know anything about OSX except that after
spending hours working with a few simple applications, it's extremely
slow, ugly, and annoying to use.)

BTW, when I'm coding I usually compile with -Wall -Werror so maybe it
gives a warning but not an error without regex... though there might be
link errors later on.

Hope that helps some,
Emile





-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to