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

Anonymous variadic macros are not part of C++03 #41

Closed
kspangsege opened this issue Aug 16, 2012 · 3 comments
Closed

Anonymous variadic macros are not part of C++03 #41

kspangsege opened this issue Aug 16, 2012 · 3 comments
Assignees

Comments

@kspangsege
Copy link
Contributor

tightdb_java2/tightdb_jni/src/util.hpp defines an anonymous variadic macro. Since they are not part of C++03, we should not use them.

Note: Anonymous variadic macros were introduced in C99 as well as C++11.

@ghost ghost assigned bmunkholm Aug 16, 2012
@kspangsege
Copy link
Contributor Author

These are the macroes I was referring to:

#define TR(fmt, ...)
#define TR_ERR(fmt, ...)

@kspangsege
Copy link
Contributor Author

Of course, this assumes that the intention is to not allow C++11 in the Java language binding.

@kspangsege
Copy link
Contributor Author

Fixed

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants