[compile error] #if #endif pairs did not match in boost\assert.hpp
- 主要言語
- C++
- スター
- 35
- フォーク
- 77
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When I tried to compile PCL(PointCloudLibrary) with the Boost file compiled by myself, the error showed that #if #endif pairs did not match and the error was reported in the assert.hpp file from Boost, so I checked the file in VS2022 and didn't see any error prompt. I have compared the latest version of Boost compiled files, and every line is the same. (Because it is necessary to compile part of the code with NVCC, NVCC always prompts that the *.hpp file of Boost cannot be found. Even though I have completely set it in path and CMake, I changed the include directory to a pure English absolute path, but I think this should not be the reason. ) I hope to get an answer, thank you very much!
My platform: Windows11
Compiler: vs2022 (or vc143) & nvcc (from cuda 11.6)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず boost/assert.hpp を調査し、Windows 11、VS2022 または vc143、CUDA 11.6 の nvcc という記載されたセットアップで報告されたプリプロセッシングエラーを再現します。NVCC のインクルードパスとプリプロセッシングの動作を、動作している Visual Studio のケースと比較します。完了条件は、不一致が Boost.Assert にあるのかコンパイル環境にあるのかを特定し、再現可能な原因を文書化することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- compilers
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100