[bugs] [illumos gate - Bug #1240] (In Progress) va_*.h use non-existent __GNUC_MINOR

illumos bugs bugs at lists.illumos.org
Fri Jul 22 00:10:18 PDT 2011


Issue #1240 has been reported by Rich Lowe.

----------------------------------------
Bug #1240: va_*.h use non-existent __GNUC_MINOR
https://www.illumos.org/issues/1240

Author: Rich Lowe
Status: In Progress
Priority: Normal
Assignee: Rich Lowe
Category: 
Target version: 
Difficulty: Bite-size
Tags: 


Conditions in va_list.h and va_impl.h use __GNUC_MINOR.  The macro in question is __GNUC_MINOR__, the version without the trailing underscores happens to work thanks to those clauses evaluating false, and us taking the alternate side of the || in both cases.

Presumably GCC 2.96 makes it's own arrangements (or breaks!)

As a test case:

<pre>
int
main(int argc, char **argv)
{
        prinf("%d\n", __GNUC_MINOR);
}
</pre>

Fails to build, success with the correct underscores added.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the bugs mailing list