[Ipe-discuss] edits to source to make 7.0.10 compile with Sun Studio compilers
Kostas Oikonomou
ko at research.att.com
Sun Mar 14 18:09:34 CET 2010
Otfried,
I recently built Ipe 7.0.10 on OpenSolaris, using the Sun
Studio 12 compilers.
I had to make the following edits to the source, which I
hope you can incorporate in the next version:
1) src/ipelib/ipeplatform.cpp, src/ipe/main.cpp,
src/ipeview/ipeview.cpp:
#include <clocale>
#ifdef __SUNPRO_CC
#include <locale.h>
#endif
2) src/ipe/appui.cpp:
void AppUi::aboutIpe()
{
int luaSize = lua_gc(L, LUA_GCCOUNT, 0);
#ifdef __SUNPRO_CC
char *buf = new char[strlen(aboutText) + 100];
#else
char buf[strlen(aboutText) + 100];
#endif
...
#ifdef __SUNPRO_CC
delete[] buf;
#endif
}
Kostas
More information about the Ipe-discuss
mailing list