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 654646 - debug.vala interpretation Error
debug.vala interpretation Error
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Code Generator
unspecified
Other Linux
: Normal blocker
: ---
Assigned To: Vala maintainers
Vala maintainers
: 638308 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-07-14 20:51 UTC by Lucas Zambianchi
Modified: 2012-09-30 17:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Diff of the problem (816 bytes, patch)
2011-07-14 20:51 UTC, Lucas Zambianchi
none Details | Review

Description Lucas Zambianchi 2011-07-14 20:51:47 UTC
Created attachment 192002 [details] [review]
Diff of the problem

There's a bug in the debug.vala when making the folks (lastest version).

The problem is:

When the valist = va_list(); was used, right after there was a loop running on the args list, but they where fully coppied to a string, I changed the code to just copy the arg(debug) to the string instead of copying everything.

This error was preventing from compiling the whole project in the lastest version.

Diff file attached.
Comment 1 Luca Bruno 2011-07-15 16:54:42 UTC
commit 83afc92daf8b4660c99cfea0f06c5b2a3d8a1aff
Author: Luca Bruno <lucabru@src.gnome.org>
Date:   Fri Jul 15 18:24:15 2011 +0200

    glib-2.0: Set lvalue_access to false for va_list
    
    Fixes bug 654646.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 2 Jürg Billeter 2012-09-30 17:30:42 UTC
*** Bug 638308 has been marked as a duplicate of this bug. ***