-
-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Headers not usable alone #550
Comments
Could you please suggest why should people use headers alone? The ABI of C++ is very unstable. I do not encourage people to include C++ header directly. |
Problem was originally reported in Gentoo for building of pyzy, which apparently has in https://github.com/pyzy/pyzy/blob/6d9c3cdff364e0da75e1c26222240f26370ebf73/src/SimpTradConverter.cc#L29-L30:
I will try to create patch for OpenCC. |
Ah sorry I misunderstood you. It looks like a real problem if #include <opencc.h> does not work. Looking forward to your patch or pull request. |
Apparently problem in Problems in |
Hi @Arfrever, Thanks for the patch. However
I did not look into it very much. Could you please help check if this error reproduces? |
Patch: OpenCC-headers.patch.txt |
Improved patch: OpenCC-headers.patch.txt |
Hi @Arfrever, Thanks for the patch again. |
It seems that Darts support is not used in Node.js binding. When I try Possibly working patch: OpenCC-headers.patch.txt |
From d18eac4ee14b871c2c9ebeb9fc9ee797e6b2109a Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Date: Tue, 2 Mar 2021 00:00:00 +0000
Thanks. Submitted. |
Some headers of OpenCC are not usable alone, i.e. without manually including other headers (from either OpenCC or standard library).
Problem minimally existed in OpenCC 1.0.6 (1 affected header), and became worse in 1.1.0 and 1.1.1 (4 affected headers, including main
opencc.h
).In directory of installed headers of OpenCC 1.0.6 (usually
/usr/include/opencc
):In directory of installed headers of OpenCC 1.1.1 (usually
/usr/include/opencc
):The text was updated successfully, but these errors were encountered: