8000 error: no matching function for call to 'win32_9xa_win9x_create_process_overloads' · Issue #1126 · cppfastio/fast_io · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

error: no matching function for call to 'win32_9xa_win9x_create_process_overloads' #1126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
trcrsired opened this issue Mar 21, 2025 · 3 comments

Comments

@trcrsired
Copy link
Member
]$ clang++ -o process.exe process.cc -O2 -s -fuse-ld=lld  --target=i686-w64-mingw32 --sysroot=$HOME/toolchains/gnu/x86_64-w64-mingw32/i686-w64-mingw32  -I../../include -std=c++26 -Wl,--major-subsystem-version -Wl,4 -Wl,--minor-subsystem-version -Wl,0 -D_WIN32_WINDOWS=0x0400 -DWINVER=0x0400 -static
In file included from process.cc:1:
In file included from ../../include/fast_io.h:10:
In file included from ../../include/fast_io_hosted.h:81:
In file included from ../../include/fast_io_hosted/process/process.h:2:
In file included from ../../include/fast_io_hosted/process/process/native.h:7:
../../include/fast_io_hosted/process/process/win32.h:799:6: error: no matching function for call to 'win32_9xa_win9x_create_process_overloads'
  799 |                           win32::details::win32_9xa_win9x_create_process_overloads(filename, args, envs, processio)
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
process.cc:14:28: note: in instantiation of function template specialization 'fast_io::win32_family_process<fast_io::win32_family::ansi_9x>::win32_family_process<fast_io::manipulators::basic_os_c_str<char>>' requested here
   14 |         ::fast_io::native_process p{::fast_io::mnp::os_c_str(argv[1]), {}, {}, {.in = fast_io::in(), .out = fast_io::out(), .err = fast_io::err()}, ::fast_io::process_mode::none};
      |                                   ^
../../include/fast_io_hosted/process/process/win32.h:621:39: note: candidate function template not viable: requires 5 arguments, but 4 were provided
  621 | inline win32_user_process_information win32_9xa_win9x_create_process_overloads(path_type const &filename, win32_process_args_9xa const &args,
      |                                       ^                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  622 |
                                           win32_process_envs_9xa const &envs,
      |                                                                                                                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  623 |
                                           win32_process_io const &processio, process_mode mode)
      |                                                                                                                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/fast_io_hosted/process/process/win32.h:643:39: note: candidate function not viable: requires 5 arguments, but 4 were provided
  643 | inline win32_user_process_information win32_9xa_win9x_create_process_overloads(::fast_io::win32_9xa_fs_dirent const &ent, win32_process_args_9xa const &args,
      |                                       ^                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  644 |
                                           win32_process_envs_9xa const &envs, win32_process_io const &processio, process_mode mode)
      |                                                                                                                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/fast_io_hosted/process/process/win32.h:598:39: note: candidate function template not viable: requires 6 arguments, but 4 were provided
  598 | inline win32_user_process_information win32_9xa_win9x_create_process_overloads(win32_9xa_at_entry entry, path_type const &filename,
      |                                       ^                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  599 |
                                           win32_process_args_9xa const &args, win32_process_envs_9xa const &envs,
      |                                                                                                                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  600 |
                                           win32_process_io const &processio, process_mode mode)
      |                                                                                                                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
@trcrsired
Copy link
Member Author

@MacroModel

@MacroModel
Copy link
Collaborator

#1127

@MacroModel
Copy link
Collaborator

fixed

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

No branches or pull requests

2 participants
0