MSVC 7.1 cannot find windows.h

Open
#2,168 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c, typescript
Domain
compilers, tooling

Research direction

Start by reproducing the failure using the linked scratch with MSVC 7.1 and #include <windows.h>, then trace how the project selects or provides compiler headers for that compiler. Done means the include succeeds in the described setup. The issue does not name a source file or test, so locate the compiler configuration entry point first.

Written by the indexing model from the issue text.

Description

Describe the bug
Adding the line #include <windows.h> fails when the compiler is set to MSVC 7.1.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new scratch with the compiler set to MSVC 7.1.
  2. Go to context
  3. Add the line #include <windows.h>
  4. See error

Expected behavior
Including windows.h should not fail.

Scratches
https://decomp.me/scratch/gCbhh

Dominant language
TypeScript
Stars
622
Forks
159
Avg merge
10h 18m
Merged PRs (30d)
34

Getting set up

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.

More from decompme/decomp.me

All issues in decompme/decomp.me

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.