Greg Ercolano wrote:
>> ian wrote:
>>> In case anyone is still following this, here:
>>> http://www.imm.uklinux.net/fltk/fltk118-utf8-2007-07-14.tar.bz2
>>> is another snapshot.
Hmm, some errors in VS 2005 Express that prevented it from
building with the fltk.sln build solution.
1) scandir_win32.c wouldn't compile because it's a 'c' app (not c++),
and therefore doesn't like variables declared within the code, eg:
--- snip
strcpy(d, "\\*");
}
unsigned wlen = fl_utf8toUtf16(findIn, strlen(findIn), NULL, 0); // Pass NULL
to query length
^^ FAILS HERE
wlen++;
--- snip
..so I added the /TP flag to force it to compile as C++.
2) There was a valid warning in src/fl_call_main.c, where a function
argument is being overriden by a variable definition within the code:
--- snip
static int mbcs2utf(const char *s, int l, char *dst, unsigned dstlen)
{ /|\
static xchar *mbwbuf; |
unsigned dstlen = 0; // <-- overrides dstlen defined here
--- snip
That should probably be fixed.
The libs seemed to build, but the test programs all seemed to fail
with undefined references to things like _fl_open() and _fl_utf*().
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk