Closed Bug 570553 Opened 15 years ago Closed 15 years ago

mozalloc.h:208:1: warning: C++ style comments are not allowed in ISO C90

Categories

(Core :: XPCOM, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b1

People

(Reporter: dholbert, Assigned: wesongathedeveloper)

References

Details

(Whiteboard: [build_warning])

Attachments

(1 file)

Filing bug for this new warning: { pldhash.c [...] In file included from /builds/slave/tryserver-linux-debug/build/xpcom/build/../base/nscore.h:50, from /builds/slave/tryserver-linux-debug/build/xpcom/build/../glue/pldhash.h:45, from pldhash.c:49: ../../dist/include/mozilla/mozalloc.h:208:1: warning: C++ style comments are not allowed in ISO C90 ../../dist/include/mozilla/mozalloc.h:208:1: warning: (this will be reported only once per input file) } e.g. in this recent tryserver log: http://tinderbox.mozilla.org/showlog.cgi?log=MozillaTry/1275930846.1275934637.23204.gz The guilty C++ style comment was added in bug 559263. It needs to be converted to C-style (/**/) to avoid spamming this build warning.
Attached patch PatchSplinter Review
Assignee: nobody → wesongathedeveloper
Status: NEW → ASSIGNED
Attachment #450947 - Flags: review?(vladimir)
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: