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

rkl@connect.org.uk rkl@connect.org.uk
Thu Aug 23 07:36:00 GMT 2001


>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:



More information about the Gcc-bugs mailing list