Closed Bug 59505 Opened 25 years ago Closed 24 years ago

Include from xRemoteClient in nsAppRunner.cpp keeps QNX/Photon from compiling

Categories

(SeaMonkey :: Build Config, defect, P3)

Other
Other
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Jerry.Kirk, Assigned: cls)

References

()

Details

Attachments

(3 files)

QNX/Photon can't compile nsAppRunner.cpp becuase it tries to include nsXRemoteClientCID.h. Photon does not compile the mozilla/widget/src/xremoteclient directory because it does not use X. After talking with blizzard we think an autoconf setting called "ENABLE_XREMOTE_SUPPORT" should be added which control this.
The changes in nsAppRunner.cpp are inconsistent. If nsIXRemoteClient.h is only included if MOZ_ENABLE_XREMOTE, then it must also be used only in that case, and not on all configurations defining XP_UNIX. Otherwise, compiling on QNX/Photon will give another error, because now nsIXRemoteClient is an undefined identifier.
r=blizzard. Just FYI, You should really use diff -u for patches. Adding alecf so that he can review this code since he's the module owner for this bit.
Following to Christophers comment, I created a new version of the patch using diff -u, and supplied it.
looks fine..we're certain that MOZ_ENABLE_XREMOTE is on for (non-QNX) unix builds by default?
Yes, it's on by default: autoconf.mk:MOZ_ENABLE_XREMOTE = 1
Checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: