It occurred to me that rather than using the variadic macros
solution, we can always (on the win32 platforms) just define our own
"snprintf()" wrapper function for _snprintf_s(...), say in
Fl_win32.cxx or elsewhere.
Then so long as libfltk is linked in before the system libs,
"everyone" w
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Pending]
Link: http://www.fltk.org/str.php?L2221
Version: 1.3-feature
Fix Version: 1.3.0 (r6951)
Hi Matt: could you, please, enter this last patch to file
Fl_cocoa.mm (in its doCallback function) that makes
radi
Builing r6985 I get warnings like this... (this is from a win32 build
but all platforms do it...)
Compiling Fl_Preferences.cxx...
Fl_Preferences.cxx:85:2: warning: #warning MSWindows implementation
missing!
Fl_Preferences.cxx: In static member function `static const char*
Fl_Preferences::ne
On 01.01.2010, at 15:22, imacarthur wrote:
> So, we can go back to always linking in the winsock libs, or use some
> other "unique" property in the UUID code.
No lining to winsock please ;-)
> BTW: Does anyone know if the win32 libs have built-in UUID functions,
> like the APPLE stuff does,
On 30 Dec 2009, at 19:24, Greg Ercolano wrote:
>> [..]it seems [the Microsoft] _snprintf() doesn't follow the
>> C99 spec,
>> so the function apparently works incorrectly [or at least
>> unexpectedly
>> if you're used to the C99 spec version) on the very
>> boundary conditions
On 1 Jan 2010, at 16:28, Matthias Melcher wrote:
>>
>> BTW: Does anyone know if the win32 libs have built-in UUID functions,
>> like the APPLE stuff does, that we could just use instead?
>
> There should be functions, at least starting with XP. For earlier
> verions, we can use a combination of
imacarthur wrote:
> On 30 Dec 2009, at 19:24, Greg Ercolano wrote:
>> Solution on win32 is to change _snprintf() to _snprintf_s()
>> with the _TRUNCATE macro as the third argument. But there's no
>> clear way to use a macro shortcut to do this (since this is a
>> varargs functio
imacarthur wrote:
> On 30 Dec 2009, at 19:24, Greg Ercolano wrote:
>> Solution on win32 is to change _snprintf() to _snprintf_s()
>> with the _TRUNCATE macro as the third argument. But there's no
>> clear way to use a macro shortcut to do this (since this is a
>> varargs functio
On 01.01.2010, at 18:40, imacarthur wrote:
>
> On 1 Jan 2010, at 16:28, Matthias Melcher wrote:
>>>
>>> BTW: Does anyone know if the win32 libs have built-in UUID functions,
>>> like the APPLE stuff does, that we could just use instead?
>>
>> There should be functions, at least starting with X
imacarthur wrote:
> Just tested this on Vista with mingw, and it fails exactly as Greg's VS
> example fails (because mingw mainly just wraps the native system libs in
> general.)
That's strange. I can't confirm this with WinXP and the cygwin/mingw
compiler (neither in cygwin nor in mingw (-mno-
Matthias Melcher wrote:
> Anybody has a solution for Linux?
I think that Mike proposed one: uuid(), see
http://www.fltk.org/newsgroups.php?gfltk.development+v:8605
Albrecht
___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/
11 matches
Mail list logo