Closed
Bug 155665
Opened 24 years ago
Closed 24 years ago
nscore.h has unreachable MSVC #defines (mutually exclusive nested #if)
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 155666
People
(Reporter: timwatt, Assigned: dougt)
Details
This is from CVS trunk:
http://lxr.mozilla.org/seamonkey/source/xpcom/base/nscore.h#195 contains the
following block:
186 #if defined(_MSC_VER) && (_MSC_VER>=1100)
(... still within 186's #if)
195 #if (_MSC_VER<1100)
(...)
198 #elif (_MSC_VER==1100)
(...)
206 #endif
Obviously, the block from 195 to 197 (which #undefs a symbol) is impossible to
reach in any circumstance (barring a broken preprocessor).
I'm not 100% sure XPCOM is the right place for this; it seems like it could also
go in Build Config.
Comment 1•24 years ago
|
||
*** This bug has been marked as a duplicate of 155666 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•