After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793422 - debug-viewer: Fix C++ lambda detection as functions
debug-viewer: Fix C++ lambda detection as functions
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
git master
Other Linux
: Normal normal
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-02-13 13:07 UTC by Xabier Rodríguez Calvar
Modified: 2018-02-14 00:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (916 bytes, patch)
2018-02-13 13:07 UTC, Xabier Rodríguez Calvar
committed Details | Review

Description Xabier Rodríguez Calvar 2018-02-13 13:07:28 UTC
Created attachment 368309 [details] [review]
Patch

Lambda functions are not properly detected and it always adds the whole line as message for these.
Comment 1 Tim-Philipp Müller 2018-02-14 00:44:01 UTC
Thanks! There's a bigger issue here that's not covered and that would also cover this case which is that sometimes it prints the full function/method signature instead of just the name, but we can fix that when someone runs into that :)

commit 50db93006e14c7310837f5ad4c48aa3c7afbc400
Author: Xabier Rodriguez Calvar <calvaris@igalia.com>
Date:   Tue Feb 13 14:02:39 2018 +0100

    debug-viewer: Fix C++ detection of lambdas as function
    
    https://bugzilla.gnome.org/show_bug.cgi?id=793422