xtal を試してみた
作業ログ。
vc 入れてないので cygwin & gcc で。
$ cd $(xtal)/gcc
- make した
$ make
- コンパイルできない ><
$ make g++ -c ../xtal/xtal_allocator.cpp -O3 -DNDEBUG -fno-rtti In file included from ../xtal/xtal_frame.h:6, from ../xtal/xtal.h:25, from ../xtal/xtal_allocator.cpp:2: ../xtal/xtal_cfun.h: In function `xtal::CFunPtr xtal::getter(T U::*, const Polic y&)': ../xtal/xtal_cfun.h:917: error: `C' undeclared (first use this function) ../xtal/xtal_cfun.h:917: error: (Each undeclared identifier is reported only onc e for each function it appears in.) ../xtal/xtal_cfun.h:917: error: template argument 1 is invalid ../xtal/xtal_cfun.h:917: error: ISO C++ forbids declaration of `getter' with no type ../xtal/xtal_cfun.h:919: error: template argument 2 is invalid ../xtal/xtal_cfun.h:919: error: no matching function for call to `xnew(<type err or>, xtal::getter::getter*&, unsigned int&, int)' ../xtal/xtal_cfun.h: In function `xtal::CFunPtr xtal::setter(T U::*, const Polic y&)': ../xtal/xtal_cfun.h:928: error: `C' undeclared (first use this function) ../xtal/xtal_cfun.h:928: error: template argument 1 is invalid ../xtal/xtal_cfun.h:928: error: ISO C++ forbids declaration of `setter' with no type ../xtal/xtal_cfun.h:930: error: template argument 2 is invalid ../xtal/xtal_cfun.h:930: error: no matching function for call to `xnew(<type err or>, xtal::setter::setter*&, unsigned int&, int)' make: *** [xtal_allocator.o] Error 1
さー、対応してみますか。