libsdl-org / libsdl-org/SDL

C26819 Warning in Visual Studio with SDL_stdinc.h file

Open
#11,637 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
16.6k
Forks
3k
Avg merge
12h 38m
Merged PRs (30d)
64

Description

After trying to use templates for a class but reverting the changes the warning popped up for lines 553, 554, 555 and 556.

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 by reproducing the C26819 warning in Visual Studio and inspect lines 553-556 of SDL_stdinc.h. Determine the warning's cause and verify that the warning no longer appears after the relevant correction, while checking that the reverted-template scenario remains unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.