Skip to content
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

add support to include files with BOM character #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

efferre79
Copy link
Contributor

some upstream opencascade files include a BOM character at the beginning which leads to an error when parsing the file by clang

This will make out-of-date two other OCP PRs CadQuery/OCP#134 and CadQuery/OCP#135. The proposed solution here doesn't require to patch the opencascade include files which might come also from the user system.

some upstream opencascade files include a BOM character at the beginning which leads to an error when parsing the file by clang
@efferre79
Copy link
Contributor Author

efferre79 commented Mar 28, 2024

this fixes errors such as:

[W 240324 22:27:18 translation_unit:58] dummy.cxx:12:1: error: unexpected character <U+FEFF>

during OCP parsing of headers

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

Successfully merging this pull request may close these issues.

1 participant