Closed Bug 1072454 Opened 5 years ago Closed 5 years ago

rwlockrank.c uses c++-style comments, breaking the build with plain cc

Categories

(NSPR :: NSPR, defect, P2)

4.10.7
All
OpenBSD
defect

Tracking

(Not tracked)

RESOLVED FIXED
4.10.8

People

(Reporter: gaston, Assigned: gaston)

Details

Attachments

(1 file)

See $subject, this breaks the build when using plain cc.

rwlockrank.c: In function 'rwtest':
rwlockrank.c:25: error: expected expression before '/' token
../../config/rules.mk:441: recipe for target 'rwlockrank.o' failed
Summary: rwlockrank.c uses c++-style comments → rwlockrank.c uses c++-style comments, breaking the build with plain cc
Assignee: wtc → landry
Attachment #8532893 - Flags: review?(wtc)
Attachment #8532893 - Flags: review?(ted)
Attachment #8532893 - Flags: review?(wtc)
Attachment #8532893 - Flags: review?(ted)
Attachment #8532893 - Flags: review+
http://hg.mozilla.org/projects/nspr/rev/65d930885b66
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Comment on attachment 8532893 [details] [diff] [review]
Use c-style comments

Review of attachment 8532893 [details] [diff] [review]:
-----------------------------------------------------------------

r=wtc.
Attachment #8532893 - Flags: review+
Priority: -- → P2
Hardware: x86_64 → All
Target Milestone: --- → 4.10.8
You need to log in before you can comment on or make changes to this bug.