compatibility with the cpp compiler