Usage with -fno-elide-constructors causes dump() output to be array of null
s
#2387
Labels
kind: bug
release item: 🐛 bug fix
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Milestone
What is the issue you have?
The following program...
... compiled with the following flags ...
... produces the following output:
Omitting the
-fno-elide-constructors
flag, we get the following (correct) output:I've since removed the
-fno-elide-constructors
from the build script as it was leftover from another project and isn't necessary (or really a good idea) for this project. I just figured you might want to know about it.I don't fully understand the nuances of the flag but I would imagine it's not a flag that'd be "compatible" with this library (understandably so). At the very least, some documentation in the
Notes
section in the readme might be a worthwhile PR as it was the first place I looked for an explanation of thenull
output. Caused a 15 minute headache tracking it down - not terrible, but just annoying enough to open this issue :)Thanks for the great library!
Which compiler and operating system are you using?
Which version of the library did you use?
Commit 1bcabd9; single include header vendored into project.
The text was updated successfully, but these errors were encountered: