sx.cpp works well but sxfun.cpp does not compile with pfo_plus