On 30 Sep 2007, at 19:49, Greg Ercolano wrote:
> imm wrote:
>>>     Mmm, I definitely didn't test with anything other than VS8 Express
>>>     on Windows, as I don't have a mingw setup here.
>>
>> And I *only* have a mingw setup here!  :-)
>
>       Hmm, actually, which Makefile did you build with on mingw?
>
>       I just realized I forgot to include Fred's Makefile.mingw
>       in my distro, so I can only guess you've either rolled your own,
>       or were you able to use the regular unix Makefiles?
>
>       If the latter worked, I'm surprised, as I didn't test it.

I wasn't surprised.

With Msys/mingw, and my fltk-config based Makefile template, then you  
seldom (hopefully never!) need platform specific makefiles, the  
"generic" ones are generally good enough. I have *a lot* of code that  
builds on multiple platforms, including mingw on win32 hosts, from  
what are basically just the linux Makefiles.


>       If mods were needed, email em to me directly, and I'll either
>       make a README file for it, or include a separate Makefile.
>
>       (I'd use Fred's Makefile, but I had to change a lotta stuff
>       around since his patch, and would like not to have to port
>       it if it's already done.)

No mods are required - it works fine right out of the box. I'd assume  
cygwin would be fine, too, FWIW.
I can't say what would happen from a more brain-dead shell than Msys  
however (e.g. a dos box...)

>> "gcc -Wall" usually warns about unused functions if they are marked
>> static, ..  "strapp" is used on OSX and linux, but not on win32,
>> hence the warning. Makes sense.
>
>       Ahh. Yeah, I'm being a little lazy here doing the #include
>       for common.h instead of a separate module and making a lib.
>
>       I'll see if I can figure out a fix for that before the
>       release version goes out.

Well, if it were me... I'd just bung a

#ifndef WIN32

around the definition for "strapp" in common.cxx, and a

#ifdef DEBUG

around the definition for dnullprint() in Fl....WIN32.cxx and that  
would shut up all the warnings good!

Cheers,
-- 
Ian


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to