I am getting below error while compiling my code with C++11. With previous standard It was working fine no compilation issue. (C++03)
signature of function: boost::filesystem::copy_option::enum_type myFunc()
Error: ‘enum-type’ in ‘enum class boost::filesystem::copy_option’ does not name a type
boost version : 1.59 compiler : gcc version: 4.8.5
I am thinking this might be due to enum class in C++11. However I dont have any clues how to fix this.
Aucun commentaire:
Enregistrer un commentaire