|
Boost-Commit : |
From: steven_at_[hidden]
Date: 2008-04-28 12:13:49
Author: steven_watanabe
Date: 2008-04-28 12:13:48 EDT (Mon, 28 Apr 2008)
New Revision: 44856
URL: http://svn.boost.org/trac/boost/changeset/44856
Log:
Added #includes to make gcc 4.3.0 happy
Text files modified:
sandbox/units/boost/units/detail/utility.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: sandbox/units/boost/units/detail/utility.hpp
==============================================================================
--- sandbox/units/boost/units/detail/utility.hpp (original)
+++ sandbox/units/boost/units/detail/utility.hpp 2008-04-28 12:13:48 EDT (Mon, 28 Apr 2008)
@@ -11,8 +11,10 @@
#ifndef BOOST_UNITS_UTILITY_HPP
#define BOOST_UNITS_UTILITY_HPP
+#include <cstdlib>
#include <complex>
#include <iostream>
+#include <typeinfo>
#include <string>
#include <boost/assert.hpp>
@@ -53,7 +55,7 @@
if (realname != NULL)
{
const std::string out(realname);
- free(realname);
+ std::free(realname);
return out;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk