[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


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, 
#include <clocale>
#ifdef __SUNPRO_CC
#include <locale.h>

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];
   char buf[strlen(aboutText) + 100];


#ifdef __SUNPRO_CC
   delete[] buf;


More information about the Ipe-discuss mailing list