title: PCH warning: header stop cannot be in a macro or #if block
body: <p>I came across this PCH issue in VS c++. i have done some searches before asking here. it seems that adding #pragma once would solve the problem. However, i wonder if there is another way.</p>
  
  <p><a href="https://stackoverflow.com/questions/6003603/pch-warning-header-stop-cannot-be-in-a-macro-or-if-block-visual-c-2010-exp">enter link description here</a> resource link</p>
  
  <p><img src="https://i.stack.imgur.com/aP8FA.jpg" alt="enter image description here"></p>