ValveSoftware / ValveSoftware/wine

mfplat.c pos undeclared

Open
#106 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
2k
Forks
488
PR merge metrics
No merged PRs in 30d

Description

When trying to make the configured project i get this error:

dlls/mfreadwrite/tests/mfplat.c: In function ‘test_source_reader_from_media_source’:
dlls/mfreadwrite/tests/mfplat.c:977:5: error: ‘pos’ undeclared (first use in this function)
  977 |     pos.vt = VT_I8;
      |     ^~~

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in dlls/mfreadwrite/tests/mfplat.c at test_source_reader_from_media_source, around line 977, and inspect the use of pos and nearby declarations. Reproduce the configured-project build to confirm the compiler error, then ensure the test builds successfully without the undeclared identifier.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.