0

I have this simple code, and I don't understand why it gives me the red squiggly line under TEST_CASE("") saying it is an AMBIGUOUS SYMBOL std::size_t. It compiles fine but that red line is anoying and I don't understand it.

#include <catch.hpp>

namespace Tests
{
   namespace Applications
   {
      TEST_CASE("") <----- AMBIGUOUS SYMBOL std::size_t
      {

      }
   }
}

EDIT: I use Visual Studio as my IDE and it seems to be a problem with VS because I tried it with CLion and no squiggly warnings. I would prefer working with VS so I hope anybody can help me.

Jason Grant
  • 77
  • 1
  • 5
  • If you give the test case a name and add some code, does it go away? I think this is a false positive from VS intellisense. – JBRWilkinson Jun 24 '17 at 18:25
  • after deleting the .suo file and cleaning the binaries the intellisense errors are gone now. I hope it stays that way :) – Jason Grant Jun 24 '17 at 22:32

0 Answers0