Skip to content

Conversation

@larixsoft
Copy link

  1. when building qt-gstreamer on windows using VS2013, following error will be reported
    "error C2039: 'bind2nd' : is not a member of 'std'"
    '"error C2039: 'mem_fun' : is not a member of 'std'"
    The fix is to add "#include " to resolve this compilation error.
    Please refer to http://stackoverflow.com/questions/24580416/mem-fun-is-not-a-member-of-std
  2. QCOMPARE is very strict on the data types. Both actual and expected have to be of the same type, otherwise the test won't compile. When build on window with VS2013, size_t will be interpreted as "_uint64", which is different from "unsigned long".

The fix is to static_cast all constant number to "size_t"

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.

1 participant