|
Boost : |
From: John Maddock (jm_at_[hidden])
Date: 2003-01-28 07:14:15
> The problems is caused by calling "data()" on std::string, which does not
> zero-terminate the returned value, AFAICT. The following patch eliminates
> the warning:
I reported that one some time ago: there are quite a few occurrences of
data() where c_str() should be used :-(
John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk