Skip to content

fix(windows): resolve Visual Studio build errors - #860

Open
mobeigi wants to merge 1 commit into
robertdavidgraham:masterfrom
mobeigi:master
Open

mobeigi wants to merge 1 commit into
robertdavidgraham:masterfrom
mobeigi:master

Conversation

@mobeigi

@mobeigi mobeigi commented Nov 29, 2026

Copy link
Copy Markdown

Fixes #824
Fixes #751

Changes

  • Zero-initialize the IPv6 self-test sentinel to avoid MSVC error C2078 caused by excess anonymous-union initializers.

  • Include util-extract.c and its header in the Visual Studio project and filters to resolve the missing e_next_* symbols at link time.

Testing

Builds on Windows 11 26H2 (26300.9974)

inside Developer Powershell for VS 2022

msbuild vs10\masscan.sln /m /p:Configuration=Release /p:Platform=x64 /p:PlatformToolset=v143

Zero-initialize the IPv6 self-test sentinel to avoid MSVC error C2078 caused by excess anonymous-union initializers.

Include util-extract.c and its header in the Visual Studio project and filters to resolve the missing e_next_* symbols at link time.

Fixes robertdavidgraham#824

Fixes robertdavidgraham#751
@mobeigi

mobeigi commented Nov 29, 2026

Copy link
Copy Markdown
Author

@p-l- @Frky Hi, could you please review these changes required for Windows to build correctly 🙇

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.

cannot build exe error LNK2001

1 participant