In the current cvs version definition and implementation of mkdir have different parameters. In lyxlib.h int mkdir(char const * pathname, unsigned int mode); and in mkdir.C int mkdir(char const * pathname, mode_t mode) This wont compile under cygwinb20, gcc-2.95.2. I changed mode_t in mkdir.C to unsigned int and it works. If o.t.h. you'd wanted to change lyxlib.h you'd have to include /sys/types.h I guess. General question: I noted there is also some namespace related stuff (CXX_HAVE_NAMESPACES). I thought you dropped all support for compilers that dont do namespaces, didnt you ? Roland -- Yahoo it's flameday tomorrow...