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

Fix build #71

Merged
merged 2 commits into from Mar 3, 2020
Merged

Fix build #71

merged 2 commits into from Mar 3, 2020

Conversation

robinlinden
Copy link
Member

@robinlinden robinlinden commented Sep 22, 2019

Resolves #70


This change is Reviewable

@@ -175,6 +175,11 @@ target_link_libraries(${PROJECT_NAME}
${PROTOBUF_LIBRARIES}
)

target_compile_options(${PROJECT_NAME}
PRIVATE
-Wno-error=unusable-partial-specialization

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO, this is a bad idea. I'd prefer to fix the code instead of concealing problems.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to not conceal the problem, I excluded the new warning from Werror, but left the warning in so it's very obviously still there: https://travis-ci.org/TokTok/jvm-toxcore-c/builds/588156956#L802 (The difference between -Wno-unusable-partial-specialization and -Wno-error=unusable-partial-specialization.)

If you want to try to fix the warning you're very welcome to, because I had a quick look and won't be able to without reading up on C++ templates.

@iphydf iphydf merged commit a7b896a into TokTok:master Mar 3, 2020
@robinlinden robinlinden deleted the fix-build branch March 26, 2020 23:40
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.

Compile Error: non-deducible template parameter 'Args'
3 participants