驅動程式 - Windows Driver Model (WDM) - 解決error C2065: __DATE__: undeclared identifier問題



參考資訊:
https://developercommunity.visualstudio.com/t/-timestamp-macro-not-defined-in-release-build-for/186922

問題如下:

error C2065: '__DATE__': undeclared identifier
error C2065: '__TIME__': undeclared identifier

解法如下:

Visual Studio => Driver Setting => Driver Model => Allow Date