> mac Intel
> OSX 10.5.2
>
> make 1.6svn at revision 23963:
>
> convert.cpp: In function 'Target lyx::convert(Source) [with Target = int, 
> Source = std::string]':
> convert.cpp:121: error: 'strtol' was not declared in this scope

does this patch help?
pavel
diff --git a/src/support/convert.cpp b/src/support/convert.cpp
index 125d404..92923a9 100644
--- a/src/support/convert.cpp
+++ b/src/support/convert.cpp
@@ -23,6 +23,9 @@ using namespace std;
 namespace lyx {
 
 using boost::lexical_cast;
+using std::strtol;
+using std::strtoul;
+using std::strtod;
 
 template<>
 string convert<string>(bool b)

Reply via email to