Closed
Bug 119179
Opened 24 years ago
Closed 24 years ago
support for xlC5, change some ifdefs
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.9
People
(Reporter: jdunn, Assigned: jdunn)
Details
Attachments
(2 files)
|
2.73 KB,
patch
|
Details | Diff | Splinter Review | |
|
860 bytes,
patch
|
netscape
:
review+
|
Details | Diff | Splinter Review |
When xlC 3.6.4 was the only compiler we were using, we added
many ifdef AIX lines to pieces of code. xlC5 fixes many of these
so I want to change the ifdef AIX lines to if AIX_XLC_364
(NOTE: this means xlC 3.6.4 builds will have to set this define
in their CFLAGS & CXXFLAGS - I will update http://www.mozilla.org/unix/aix.html)
List of files/ifdefs to change.
NOTE: I am also adding ifdefs for nsKeyboardUtils.cpp which
fix build issues with the Explicit keyword that causes problems
on most unix systems. this has already been checked in for Tru64
and now I am doing it for Hpux & aix (see revision 1.5 for info)
adding dbaron and dougt just so they are in the loop because I am
touching xpcom files as well as mike kaply since these ifdefs also
contain OS/2 pieces (mike I aint messin wid ya, just lettin u know.)
Status: NEW → ASSIGNED
QA Contact: granrose → jdunn
Target Milestone: --- → mozilla0.9.8
Comment 3•24 years ago
|
||
If setting that define is going to be required for all builds using that
compiler, we should check the compiler version in configure.in and set the
define there. Is there anyway to get the compiler version from the compiler
(ie, xlc_r -v )?
Not a totally clean patch but it is the best
I could come up with. Since there are basically
2 xlC compilers available 3.6.x & 5.x,
5.x supports reinterpret casts, 3.6 doesn't.
So if we are on aix, and not using gcc AND we don't
support reinterpret cast... then it is safe to assume
that it is xlC 3.6.4
cls, good?
So now that 0.9.8 has been branched, can I get an
r= for both of these patches for the trunk?
For certain areas change the ifdef AIX to ifdef AIX_XLC_364
and then to add the setting of AIX_XLC_364 in configure.in?
Comment 6•24 years ago
|
||
Comment on attachment 65035 [details] [diff] [review]
configure.in patch - to check compiler version
r=cls
Attachment #65035 -
Flags: review+
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•