This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/4095: Variable misspelled in gcc/cp/rtti.c



>Number:         4095
>Category:       c++
>Synopsis:       Variable misspelled in gcc/cp/rtti.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          mistaken
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 23 07:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     rkl@connect.org.uk
>Release:        3.0.1
>Organization:
>Environment:
All platforms
>Description:
In line 1293 (create_pseudo_type_info() function), the
first param of va_arg() is spelled "app", which doesn't
exist as a variable.
>How-To-Repeat:
Compile without ANSI_PROTOTYPES defined - I did this by
building with a K&R C compiler.
>Fix:
Line 1293 should read:

  ident = va_arg (ap, int);
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]