On Thu, 17 Dec 2009, Cody Permann wrote:

> The <string.h> and <cstring> includes are really the old C library
> "char *" manipulation functions.  <cstring> is equivalent to
> <string.h> but wrapped inside of the std namespace.

Ah!  That's what I screwed up!  cstring is included, which gives us
std::strncpy, but which only gives a global namespace strncpy() on
compilers that prefer backwards-compatibility to strict standards
compatibility.

I'll change getpot.h to use std:: where applicable.

Many thanks to David for catching the problem and to Cody for
explaining it.
---
Roy

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to