I do not think elsif is a standard preprocessor directive. C++ standards say the correct directive is "elif". (Or maybe I missed some versions of the standard). Seems strange gcc accepts this construct without warnings. FM