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]

libstdc++/1930: helper function-macro undefined incorrectly



>Number:         1930
>Category:       libstdc++
>Synopsis:       helper function-macro undefined incorrectly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 10 15:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Joerg Peters
>Release:        gcc version 2.97 20001024 (experimental)
>Organization:
>Environment:
i386-pc-linux-gnu
>Description:
In the header std/std_valarray.h the function-macro
_DEFINE_LOGICAL_OPERATOR(_Op, _Name) is defined in line 693,
but never undefined afterwards.
Instead, _DEFINE_VALARRAY_OPERATOR(_Op, _Name) is undefined
in line 727.
>How-To-Repeat:
Read the code.
>Fix:
Change line 727 of std/std_valarray.h to:
#undef _DEFINE_LOGICAL_OPERATOR
>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]