-
Notifications
You must be signed in to change notification settings - Fork 770
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
[READY] Hide C++ symbols by default #848
Conversation
I think it's overkill to create a header file for one definition. This is what I did for Reviewed 14 of 14 files at r1. cpp/CMakeLists.txt, line 266 at r1 (raw file):
This block should be with the one that sets the Comments from Reviewable |
Codecov Report
@@ Coverage Diff @@
## master #848 +/- ##
==========================================
- Coverage 94.82% 94.64% -0.18%
==========================================
Files 41 41
Lines 4018 4018
==========================================
- Hits 3810 3803 -7
- Misses 208 215 +7 |
I moved the definition to Review status: 2 of 370 files reviewed at latest revision, 1 unresolved discussion. cpp/CMakeLists.txt, line 266 at r1 (raw file): Previously, micbou wrote…
Done. Comments from Reviewable |
e7407ee
to
48528c9
Compare
The latest commit updates Is it just me or is codecov reporting nonsense? |
Thanks! Review status: 6 of 370 files reviewed at latest revision, all discussions resolved, some commit checks failed. Comments from Reviewable |
[READY] Update Boost to 1.66.0 This version of Boost fixes the issue where `ycm_core` cannot be imported when compiling with the `-fvisibility=hidden` flag. With this new version, downgrading Boost in PR #848 won't be needed. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/887) <!-- Reviewable:end -->
☔ The latest upstream changes (presumably #887) made this pull request unmergeable. Please resolve the merge conflicts. |
4bebf06
to
9c3b480
Compare
I have just force-pushed the update that should make this work with the latest boost. |
Reviewed 1 of 14 files at r1, 8 of 8 files at r2, 1 of 356 files at r4. cpp/CMakeLists.txt, line 148 at r3 (raw file):
Missing blank line. cpp/ycm/exceptions.h, line 30 at r4 (raw file):
Is there a reason to put Comments from Reviewable |
9c3b480
to
7aeb56f
Compare
Review status: 13 of 14 files reviewed at latest revision, 2 unresolved discussions. cpp/CMakeLists.txt, line 148 at r3 (raw file): Previously, micbou wrote…
Done. cpp/ycm/exceptions.h, line 30 at r4 (raw file): Previously, micbou wrote…
There actually is, and you've found the reason last time. If we do it the logical way compilers* will ignore it for whatever reason. And if it gets ignored, the exception is simply not thrown when calling * I'm certain GCC will ignore it, not sure about clang. Comments from Reviewable |
Let's merge. @zzbot r+ Reviewed 1 of 1 files at r5. cpp/ycm/exceptions.h, line 30 at r4 (raw file): Previously, bstaletic (Boris Staletic) wrote…
Right. I vaguely remember now. Comments from Reviewable |
📌 Commit 7aeb56f has been approved by |
[READY] Hide C++ symbols by default I accidentally closed #826 (force push gone wrong and confused github). This PR implements the same change but also #827 at the same time. The boost downgrade is for this change to work properly because of [a bug in the new boost that disallows hidden C++ symbols (i.e. Boost doesn't force the ycm_core to be visible). <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/848) <!-- Reviewable:end -->
☀️ Test successful - status-appveyor, status-travis |
[READY] Update ycmd Include the following changes: - PR ycm-core/ycmd#789: add support for Windows flags when --driver-mode=cl is given; - PR ycm-core/ycmd#848: hide C++ symbols by default; - PR ycm-core/ycmd#857: add Java support using jdt.ls; - PR ycm-core/ycmd#861: translate libclang error codes to exceptions; - PR ycm-core/ycmd#880: support downloading Clang binaries on ARM systems; - PR ycm-core/ycmd#883: handle zero column diagnostic from OmniSharp; - PR ycm-core/ycmd#884: specify Platform property when compiling OmniSharp; - PR ycm-core/ycmd#886: use current working directory in JavaScript completer; - PR ycm-core/ycmd#887: update Boost to 1.66.0; - PR ycm-core/ycmd#888: update JediHTTP; - PR ycm-core/ycmd#889: update Clang to 5.0.1; - PR ycm-core/ycmd#891: fix building with system libclang on Gentoo amd64; - PR ycm-core/ycmd#904: drop Python 2.6 and Python 3.3 support; - PR ycm-core/ycmd#905: calculate the start column when items are not resolved in the language server completer; - PR ycm-core/ycmd#912: download Clang binaries from HTTPS; - PR ycm-core/ycmd#914: do not try to symlink libclang on Windows. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2902) <!-- Reviewable:end -->
I accidentally closed #826 (force push gone wrong and confused github).
This PR implements the same change but also #827 at the same time.
The boost downgrade is for this change to work properly because of [a bug in the new boost that disallows hidden C++ symbols (i.e. Boost doesn't force the ycm_core to be visible).
This change is