[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 223596] KDevelop doesn't properly parse va_arg
From:       Nicolás Alvarez <nicolas.alvarez () gmail ! com>
Date:       2010-07-22 19:18:20
Message-ID: 20100722191820.E144F4A234 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=223596


Nicolás Alvarez <nicolas.alvarez@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.alvarez@gmail.com




--- Comment #1 from Nicolás Alvarez <nicolas alvarez gmail com>  2010-07-22 21:18:18 ---
On my system, va_arg is defined as:

#define va_arg(v,l)     __builtin_va_arg(v,l)

__builtin_va_arg is a gcc builtin, not declared in any header, so KDevelop
doesn't know about it.

How to solve this? Add support for __builtin_va_arg, or override va_arg? Or
maybe both; add our own set of __builtin*s, like a compiler would, and override
the macros to ensure they are defined to point at the builtins, like a
compiler's bundled headers would?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic