return Error::ANY if err_ is null
forgot to pass a parameter
add --std=c++0x in the case of UNIX