Visual Studio warning about copies of files with different contents

前端 未结 13 828
北恋
北恋 2021-02-05 00:05

When I go to debug my C++ project in Visual Studio, up pops a little warning dialogue box that tells me:

A copy of datum.h was found in
c:/users/brad/desktop/sou         


        
13条回答
  •  广开言路
    2021-02-05 00:43

    The reason may be circular header dependencies. datum.h may includes another_header.h (directly or indirectly), which includes datum.h.

提交回复
热议问题