Re: [reSIProcate] Visual Studio 2005 compilation warnings of 1.4 branch
Max,
> strdup is standardized by POSIX though, as well as dating back
> to SVr4 and 4.3BSD >according to Linux man-pages, so Microsoft's
> behaviour on this seems to be just foisting an incompatible and
> uglier name on us for zero concrete advantage. :-/
Sure, it's a POSIX standard but not ISO C++. Though as mentioned
I absolutely agree that this is a really stupid decision by MS
because it increases cross-platform issues instead of solving
any..
> I'm not aware of any. I reckon that there's a fair chance that
> if anyone else set out to create safer string functions for
> Unix, they'd probably do it without Microsoft's Excessive
> Underscore Disease too :-)
The safe string functions are in fact not underscore-prefixed; at
least those not starting with 'str'. Instead they are suffixed
with '_s' which isn't really that bad. Apart from prefixes and suffixes
in the end there is no doubt that these functions really improve code
quality and security.
I hope to be able to start with the function replacement in Jan
Or Feb 2009 if there are no objections.
Best regards,
Matthias Moetje
TERASENS GmbH
Augustenstraße 24
80333 Munich
GERMANY
Phone:
Fax:
e-mail:
Web:
+49.89.143370-0
+49.89.143370-22
info@xxxxxxxxxxxx
www.terasens.com