Closed Bug 282261 Opened 20 years ago Closed 19 years ago

HP-UX build bustage.

Categories

(SeaMonkey :: General, defect)

HP
HP-UX
defect
Not set
major

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: gowrisharmi.kandasamy, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

SeaMonkey TOT build on HP-UX fails with the following error message.

Building deps for nsEventListenerManager.cpp
aCC -ext +DA1.1 +DS2.0 -o nsEventListenerManager.o -c  -DOSTYPE=\"HP-UXB.11\"
-DOSARCH=\"HP-UX\" -D_IMPL_NS_LAYOUT -I./../../base/src -I./../../html/base/src
-I./../../xul/content/src -I./../../xml/content/src -I./../../../dom/src/base 
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/dom -I../../../dist/include/js
-I../../../dist/include/locale -I../../../dist/include/gfx
-I../../../dist/include/layout -I../../../dist/include/widget
-I../../../dist/include/caps -I../../../dist/include/xpconnect
-I../../../dist/include/webshell -I../../../dist/include/docshell
-I../../../dist/include/htmlparser -I../../../dist/include/pref
-I../../../dist/include/view -I../../../dist/include/necko
-I../../../dist/include/unicharutil -I../../../dist/include/imglib2
-I../../../dist/include/content -I../../../dist/include
-I/tmp_mnt/proj/mozilla/firefox/Nightly/firefox2/mozilla/dist/include/nspr     
  +Z   -DHPUX11 -Dhpux -Wc,-ansi_for_scope,on  -DNDEBUG -DTRIMMED -O  
-DMOZILLA_VERSION=\"1.8b\" -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino
-DMOZ_OJI_REQUIRE_THREAD_SAFE_ON_STARTUP=1 -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1
-DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_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ION_VERSION=\"1.8b\" -DMOZILLA_SKIN_VERSION=\"1.5\" 
-D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT nsEventListenerManager.cpp


  Error 744: "../../../dist/include/layout/nsLayoutUtils.h", line 174 # The
operand of a static_cast must be a pointer to or lvalue of a complete class; the
actual type was nsIFrame *.
      { return NS_STATIC_CAST(nsIFrame*, aView->GetClientData()); }


Fix :

 Replacing  NS_STATIC_CAST with  NS_REINTERPRET_CAST solves this problem. This
needs to be fixed to add HP-UX machine to SeaMonkey port's  tinderbox.

THis Bug is simmilar to the bug 196893 

Reproducible: Always
OS: other → HP-UX
Hardware: Other → HP
Version: unspecified → Trunk
Attached file patch (obsolete) —
Isn't the right answer to keep using STATIC_CAST but put the code somewhere that
has nsIFrame.h actually included?

Also, that attachment doesn't seem to be a diff...
Note also that this is a bug in the compiler.  See C++ (1998) 5.2.9, clauses 3,
6, and 10.
Attachment #174776 - Attachment is obsolete: true
Attached patch Patch Splinter Review
Attachment #175333 - Attachment is patch: false
Comment on attachment 175333 [details] [diff] [review]
Patch 

reinterpret_cast is unnecessarily dangerous.
Attachment #175333 - Attachment is patch: true
Attachment #175333 - Flags: review-
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
Reporter: Does this bustage still exist on HP-UX? Do you still need the patch to
build?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: