Compiler warning about deprecated header

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

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the warning when using the program_options library in isolation and identify which included header emits the deprecated-header message. Check the warning's suggested boost/core/invoke_swap.hpp replacement; done means isolated use no longer produces this deprecation warning.

Written by the indexing model from the issue text.

Description

Whenever I use this library in isolation, i get the following compiler warning:

#pragma message: This header is deprecated. Use boost/core/invoke_swap.hpp instead
Dominant language
C++
Stars
136
Forks
117
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 boostorg/program_options

All issues in boostorg/program_options

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.