Project

General

Profile

Actions

Bug #1240

closed

va_*.h use non-existent __GNUC_MINOR

Added by Rich Lowe almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2011-07-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

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:

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

Fails to build, success with the correct underscores added.

Actions #1

Updated by Rich Lowe almost 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100

Resolved in r13413 commit:22409bb43a34

Actions

Also available in: Atom PDF