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

does not currently working under gcc #340

Closed
swex opened this issue Sep 18, 2024 · 4 comments
Closed

does not currently working under gcc #340

swex opened this issue Sep 18, 2024 · 4 comments

Comments

@swex
Copy link

swex commented Sep 18, 2024

trying to use library with gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1)
not compiling, most errors comes from the fact that gcc does not allow non namespace template specialization:

jni_bind_release.h:1004:13: error: explicit specialization in non-namespace scope ‘struct jni::metaprogramming::Even’
 1004 |   template <>
@jwhpryor
Copy link
Collaborator

Unfortunately I had to start with the library being clang only (it might be easy to miss but it's in the project description).

I filed #4 under the next milestone: https://github.com/google/jni-bind/milestone/3

I would think the main issue would be that I'm using a clang extension in the invocable maps which would need to be worked around:

@jwhpryor
Copy link
Collaborator

Closing this as it's duplicate (but do hope to address it one day).

@jwhpryor jwhpryor closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2024
@jwhpryor
Copy link
Collaborator

Duplicate of #4.

@jwhpryor
Copy link
Collaborator

FYI this is now supported.

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

No branches or pull requests

2 participants