Skip to content

Add changes required to compile with MS VC6 #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 2, 2013
Merged

Add changes required to compile with MS VC6 #43

merged 3 commits into from
Jul 2, 2013

Conversation

martinmoene
Copy link
Contributor

Add macro UNITTEST_COMPILER_IS_MSVC6
Add macro UNIITEST_NS_QUAL_STD(fun)
Avoid __pragma()
Skip tests with long long

Add macro UNITTEST_COMPILER_IS_MSVC6
Add macro UNIITEST_NS_QUAL_STD(fun)
Avoid __pragma()
Skip tests with long long
@martinmoene
Copy link
Contributor Author

Using the custom streams requires further adaptation of MemoryOutStream.h, MemoryOutStream.cpp and its test (define UNITTEST_USE_CUSTOM_STREAMS in Config.h).

Tested successfully with VS6 and VS2010.

Note: VC6 64 bit literal uses i64 suffix, see: http://stackoverflow.com/a/5046564/437272

pjohnmeyer added a commit that referenced this pull request Jul 2, 2013
Add changes required to compile with MS VC6
@pjohnmeyer pjohnmeyer merged commit de52aa1 into unittest-cpp:master Jul 2, 2013
pjohnmeyer added a commit that referenced this pull request Apr 4, 2015
Add changes required to compile with MS VC6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants