Visual Studio 2010 & 2008 can't handle source files with identical names in different folders?

后端 未结 8 949
难免孤独
难免孤独 2020-11-30 23:58

Direct Question: If I have two files with the same name (but in different directories), it appears that only Visual Studio 2005 can handle this transparentl

8条回答
  •  甜味超标
    2020-12-01 00:37

    It also can be that you create a .cpp file in visual studio and later rename it to .h. Although the file is renamed visual studio still compiles it as a cpp file and therefore two obj files are created and linker warning shown.

提交回复
热议问题