Closed
Bug 674468
Opened 15 years ago
Closed 14 years ago
glxtest.cpp fails to compile with Solaris Studio
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)
Details
Attachments
(1 file)
|
554 bytes,
patch
|
karlt
:
review+
|
Details | Diff | Splinter Review |
"/export/home/ginn/work/mozilla-central/toolkit/xre/glxtest.cpp", line 101: Error: The function "snprintf" must have a prototype.
"/export/home/ginn/work/mozilla-central/toolkit/xre/glxtest.cpp", line 166: Warning (Anachronism): Formal argument 1 of type extern "C" int(*)(_XDisplay*,XErrorEvent*) in call to XSetErrorHandler(extern "C" int(*)(_XDisplay*,XErrorEvent*)) is being passed int(*)(_XDisplay*,XErrorEvent*).
"/export/home/ginn/work/mozilla-central/toolkit/xre/glxtest.cpp", line 200: Error: The function "snprintf" must have a prototype.
"/export/home/ginn/work/mozilla-central/toolkit/xre/glxtest.cpp", line 233: Error: The function "perror" must have a prototype.
"/export/home/ginn/work/mozilla-central/toolkit/xre/glxtest.cpp", line 238: Error: The function "perror" must have a prototype.
4 Error(s) and 1 Warning(s) detected.
<cstdio> in Solaris Studio doesn't have snprintf() and perror().
#include <stdio.h> will fix that.
Updated•15 years ago
|
Attachment #548708 -
Flags: review?(karlt) → review+
Comment 3•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in
before you can comment on or make changes to this bug.
Description
•