attribute appertains to a friend declaration that is not a definition
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cmake, cpp
- Domain
- build-system
Research direction
Start with boost/thread/detail/thread.hpp at line 641 and reproduce the reported CMake build of the Kodierungstheorie target from main.cpp. Check the compiler and Boost configuration involved in the diagnostic; done means the target builds without the friend-declaration attribute error.
Written by the indexing model from the issue text.
Description
====================[ Build | Kodierungstheorie | Debug ]=======================
/usr/local/bin/cmake --build /home/benjamin-elias/CLionProjects/Kodierungstheorie/cmake-build-debug --target Kodierungstheorie -- -j 6
Scanning dependencies of target Kodierungstheorie
[ 16%] Building CXX object CMakeFiles/Kodierungstheorie.dir/main.cpp.o
In Datei, eingebunden von /home/benjamin-elias/Downloads/boost_1_76_0/boost/thread/thread_only.hpp:22,
von /home/benjamin-elias/Downloads/boost_1_76_0/boost/thread/thread.hpp:12,
von /home/benjamin-elias/Downloads/boost_1_76_0/boost/thread.hpp:13,
von /home/benjamin-elias/CLionProjects/Kodierungstheorie/main.cpp:2:
/home/benjamin-elias/Downloads/boost_1_76_0/boost/thread/detail/thread.hpp:641:37: Fehler: attribute appertains to a friend declaration that is not a definition
641 | friend id BOOST_THREAD_DECL this_thread::get_id() BOOST_NOEXCEPT;
| ^~~~~~~~~~~
make[3]: *** [CMakeFiles/Kodierungstheorie.dir/build.make:72: CMakeFiles/Kodierungstheorie.dir/main.cpp.o] Fehler 1
make[2]: *** [CMakeFiles/Makefile2:85: CMakeFiles/Kodierungstheorie.dir/all] Fehler 2
make[1]: *** [CMakeFiles/Makefile2:92: CMakeFiles/Kodierungstheorie.dir/rule] Fehler 2
make: *** [Makefile:124: Kodierungstheorie] Fehler 2
- Dominant language
- C++
- Stars
- 213
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/thread
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100