For those who might face the same issue, I took the master branch of Blender and compiling failed because of Audaspace missing min and max functions in std:: so it looked like there was a missing include directive somewhere as mentioned on Stackoverflow.
In your local blender git repo:
- open ./extern/audaspace/src/respec/ChannelMapperReader.cpp
- add #include where other includes are at the top of the file
Compilation then worked fine.