libstdc++/1930: helper function-macro undefined incorrectly
peters@igpm.rwth-aachen.de
peters@igpm.rwth-aachen.de
Sat Feb 10 15:56:00 GMT 2001
>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:
More information about the Gcc-bugs
mailing list