PowerShell / PowerShell/Win32-OpenSSH

#pragma once needs to be used consistently

Open
#533 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Code Review and cleanup
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

POSIX headers need to use
#pragma once
consistently to avoid name clashes, since a handful of these headers share the same as those in VS CRT.

Contributor guide

Open the contributing guide

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 locating the POSIX headers in the Win32-OpenSSH source and checking their existing include guards or pragma directives. Update the relevant headers so they consistently use #pragma once, then verify that the affected headers no longer clash with similarly named VS CRT headers.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.