-
Notifications
You must be signed in to change notification settings - Fork 18
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
Issue with REALM_SCHEMA usage #89
Comments
Hi @pduvalla which gcc version are you using? |
gcc 9.4.0 |
We only support a minimum of GCC 11. |
Seeing the following error with gcc 11 |
These errors aren't related to Realm, you might need some configuration in your Qt project, maybe this SO post might have some answers for you. |
Thanks! fatal error: stdlib.h: No such file or directory is resolved but still seeing ... Can you share the build environment used to verify this example , like the QT version, and gcc version etc |
I verified the example on macOS 13, Qt 6.4.1, and clang 14.0.3 |
@leemaguire , Is there a work around to make it work with I see the same error in hello world example too. Thanks |
I will have to test it out on Ubuntu 20.04 and get back to you, the minimum Ubuntu version we test on currently is 22.04 |
➤ Kenneth Geisshirt commented: We support gcc 8.3 and later. |
I am observing an issue with REALM_SCHEMA usage in Coffee project , details below
SDK: V0.2.0 preview for SDK c++
Ubuntu 20.04
Qt Creator 4.11.1
ISSUE: realm_models.hpp:17:5: error: reference to local variable 'ptr' declared in enclosing lambda expression
macros.hpp:273:5: note: expanded from macro 'REALM_SCHEMA'
macros.hpp:303:26: note: expanded from macro 'DECLARE_REALM_SCHEMA'
realm_models.hpp:17:5: note: 'ptr' declared here
macros.hpp:273:5: note: expanded from macro 'REALM_SCHEMA'
macros.hpp:301:39: note: expanded from macro 'DECLARE_REALM_SCHEMA'
The text was updated successfully, but these errors were encountered: