Does Catch2 work well or should it work well with Microsoft Visual C ++ 6.0?

90 views
Skip to first unread message

Beniamin T.

unread,
Dec 22, 2017, 5:57:58 AM12/22/17
to CATCH
Hello,

Could you help me please?
Does Catch2 work well or should it work well with Microsoft Visual C ++ 6.0?
I have some errors:
catch_common.h (23): fatal error C1083: Can not open include file: 'cstdint': No such file or directory

Here is my code:

#define CATCH_CONFIG_MAIN
#include "..\UT Framework\Catch2\include\catch.hpp"

Thanks,
   Beni

Mateusz Loskot

unread,
Dec 22, 2017, 6:45:43 AM12/22/17
to Beniamin T., CATCH
If you read the description of the Catch repo https://github.com/catchorg/Catch2
you will find out that Catch is "using C++11, C++14, C++17 and later"

That should clearly answer your question.

ML
> --
> You received this message because you are subscribed to the Google Groups
> "CATCH" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to catch-forum...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Mateusz Loskot, http://mateusz.loskot.net

Beniamin T.

unread,
Dec 22, 2017, 7:31:37 AM12/22/17
to CATCH
Mateusz, thank you for your response.

Do you know  what I could use to unittest / code coverage for VC++ 6.0?

Thanks,
   Beni

Martin Hořeňovský

unread,
Dec 22, 2017, 3:42:54 PM12/22/17
to CATCH
Martin Moene used to have a fork of Catch 1 that was compatible with VC++6.0, try this https://github.com/martinmoene/Catch

Note that it is a fork of Catch 1.0, so none of the more modern additions are in.

Beniamin T.

unread,
Dec 24, 2017, 7:01:02 AM12/24/17
to CATCH
Hi Martin,

Thanks a lot for your response. I managed to integrate it to those old projects.

  Beni 
Reply all
Reply to author
Forward
0 new messages