I forgot to mention that I have just upgraded to OSX 10.5.1 and Xtools 3.0.
Just another error:

TocModel.cpp: In member function 'void lyx::frontend::TocModel::populate(const lyx::Toc&)':
TocModel.cpp:91: error: 'INT_MAX' was not declared in this scope

Roger

On 02/12/2007, at 10:25 AM, Roger Mc Murtrie wrote:

However, this seemed to cause another problem later in the build so I ended up specifying both string includes in docstring.h
#include <string>
#include <cstring>

Doesn't look good but seems to fix the problem until a more sophisticated fix is provided.
Roger

On 02/12/2007, at 10:09 AM, Roger Mc Murtrie wrote:

Changing
#include <string> to
#include <cstring>
in docstring.h
seems to fix it.

Roger

On 02/12/2007, at 9:40 AM, Roger Mc Murtrie wrote:

OSX 10.5.1
SVN1.5.2 revision 21899 failed with:
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -Winvalid-pch --include=./ pch.h -I./.. -I../../boost -Wextra -Wall -I/System/Library/ Frameworks/CoreFoundation.framework/Headers -g -Os -MT InsetMathAMSArray.lo -MD -MP -MF .deps/InsetMathAMSArray.Tpo -c InsetMathAMSArray.cpp -o InsetMathAMSArray.o
In file included from InsetMathAMSArray.cpp:24:
../../src/support/lstrings.h: In function 'int lyx::support::compare(const char*, const char*)': ../../src/support/lstrings.h:42: error: 'strcmp' is not a member of 'std' ../../src/support/lstrings.h: In function 'int lyx::support::compare(const char*, const char*, unsigned int)': ../../src/support/lstrings.h:53: error: 'strncmp' is not a member of 'std'

Roger



Reply via email to