boostorg / boostorg/assert

[compile error] #if #endif pairs did not match in boost\assert.hpp

Ouverte
#29 11 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
35
Forks
77
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par inspecter boost/assert.hpp et reproduire l’erreur de prétraitement signalée avec la configuration indiquée composée de Windows 11, VS2022 ou vc143, et nvcc de CUDA 11.6. Comparez le comportement des chemins d’inclusion et du prétraitement de NVCC avec le cas fonctionnel de Visual Studio ; le travail est terminé lorsqu’il est établi si l’écart se situe dans Boost.Assert ou dans l’environnement de compilation et qu’une cause reproductible est documentée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
cpp
Domaine
compilers
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
20/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.