warning C4996: 'localtime' was declared deprecated
Vadim Zeitlin
vadim at wxwindows.org
Thu May 3 17:46:53 PDT 2007
On Thu, 3 May 2007 17:41:52 -0700 (PDT) Dave Bee <davebeeus at yahoo.com> wrote:
DB> I was hoping to actually see the safer Win32 API used
DB> (e.g. localtime_s() instead of localtime()) but I
DB> guess this is would require putting this collection of
DB> functions in the msw subdirectory like other
DB> Windows-specific modules. That's probably too much
DB> work for such little gain, right?
For no gain. We already provide our own safe wrappers for unsafe C
functions so we don't need to use safe Microsoft wrappers inside our own
wrappers.
DB> BTW, I noticed the discussion on wxWidgets not
DB> signaling anything on failed 'new', which made me
DB> somewhat nervous: Is wxWidgets really good for non
DB> mission critical applications only?
DB>
DB> Or am I missing something in understanding the issue?
DB>
DB> Isn't it is always better to catch insufficient system
DB> resource AS EARLY AS POSSIBLE in the process lifetime?
Yes, it is. But as you have undoubtedly noticed from the other thread, in
this particular it probably won't make much difference anyhow.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list