Torch error when compiling

error message:
./torch/include/ATen/core/interned_strings.h:325:1: error: expected unqualified-id before ‘do’
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^
./torch/include/ATen/core/interned_strings.h:325:1: error: expected unqualified-id before ‘while’