title: How to work around “scons: warning: Two different environments were specified for target” [[BUT do not change file ]]
body: <p>I want to build one program using <code>scons</code> under windows 7 64 bits. I also have Microsoft Visual Studio c++ and mingw.</p>
  
  <p>However, when I build the program (which include several files and sub directory) with scons, I see this error</p>
  
  <pre><code>two different environments were specified in target  C:\....... .obj but they appear to have the same action ${TEMPFILE($SHCC _MSVC _OUTPUT _FLAG /c $CHANGED $SHCFLAGS $SHCCFLAGS $_CCCOMCOM
  </code></pre>
  
  <p>Note: ..... is the path of the file which I want to install. </p>
  
  <p>When I search in stackoverflow, I saw this problem mentioned and there were solutions for that but my problem is it that I should not change program's code because I'm sure the code is true.</p>
  
  <p>If you give me any idea, I will truly appreciate your help </p>