I tried both 0.39 and 0.40a, and I am using Ubuntu. I can't even get it to compile...Both versions show follosing errors:
../goo/libGoo.a(gfile.o): In function `openTempFile(GString**, _IO_FILE**, char*, char*)':
gfile.cc:(.text+0x67a): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
so I change the HAVE_MKSTEMPS to 1 in the header file, I got the following error:
g++ -O2 -DHAVE_CONFIG_H -I.. -I. -c gfile.cc
gfile.cc: In function ‘GBool openTempFile(GString**, FILE**, char*, char*)’:
gfile.cc:491: error: ‘mkstemps’ was not declared in this scope
make: *** [gfile.o] Error 1
How can the author even compile this? Please help....
Log in to post a comment.