-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
C++ codegen regression: memset called on a result variable of importcpp
type
#5140
Labels
Comments
philip-wernersbach
added a commit
to philip-wernersbach/nim-qt5_qtsql
that referenced
this issue
Jun 15, 2017
newQSqlDateTime().
philip-wernersbach
added a commit
to philip-wernersbach/influx-mysql
that referenced
this issue
Jun 15, 2017
1.0.3. This fixes a SEGFAULT when generating time objects.
This should be reopened, this regressed in 0.17.0. |
@philip-wernersbach I don't have any error messages after running this example on Arch Linux with latest gcc and latest nim devel |
|
philip-wernersbach
added a commit
to philip-wernersbach/nim-qt5_qtsql
that referenced
this issue
Jun 30, 2017
nim-lang/Nim#5140, disabling automatic conversions of Qt types to Nim types.
philip-wernersbach
added a commit
to philip-wernersbach/nim-qt5_qtsql
that referenced
this issue
Jun 30, 2017
nim-lang/Nim#5140, disabling automatic conversions of Qt types to Nim types.
Can this be closed? |
The example program continues to compile. Please open a new bug with a new snippet that fails. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reduced example:
The assertion fails, because the generated code for
foo
looks like this:This
memset
breaks use cases relying on default constructor (in my case this wasQList
).Tested on: 80f9dcc
Bisect points to: 860cbd3
The text was updated successfully, but these errors were encountered: