warning C4996: 'localtime' was declared deprecated
Dave Bee
davebeeus at yahoo.com
Thu May 3 17:41:52 PDT 2007
--- Vadim Zeitlin <vadim at wxwindows.org> wrote:
>
> It hasn't been removed but it was suppressed by
> defining
> _CRT_SECURE_NO_DEPRECATE.
>
Thanks for clearing this up.
I was hoping to actually see the safer Win32 API used
(e.g. localtime_s() instead of localtime()) but I
guess this is would require putting this collection of
functions in the msw subdirectory like other
Windows-specific modules. That's probably too much
work for such little gain, right?
BTW, I noticed the discussion on wxWidgets not
signaling anything on failed 'new', which made me
somewhat nervous: Is wxWidgets really good for non
mission critical applications only?
Or am I missing something in understanding the issue?
Isn't it is always better to catch insufficient system
resource AS EARLY AS POSSIBLE in the process lifetime?
Thanks,
Dave
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the wx-users
mailing list