boostorg / boostorg/type_erasure

boost 1.71.0 can't be compiled with mingw

Open
#16 19 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
18
Forks
35
PR merge metrics
No merged PRs in 30d

Description

bootstrap.bat gcc #come from E:\MinGW\bin
Building Boost.Build engine
builtins.cpp: In function 'FILE* windows_popen_wrapper(const char*, const char*)':
builtins.cpp:2483:39: error: '_popen' was not declared in this scope
result = _popen( command, "r" );
^
builtins.cpp: In function 'LIST* builtin_shell(FRAME*, int)':
builtins.cpp:2549:29: error: '_pclose' was not declared in this scope
exit_status = pclose( p );
...

1.70.0 is okay.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with bootstrap.bat and the Boost.Build engine build that fails in builtins.cpp, especially the reported lines 2483 and 2549. Compare the MinGW build behavior between Boost 1.70.0 and 1.71.0, then verify that the engine compiles successfully with the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.