Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

aChromeURL undefined

5 views
Skip to first unread message

walter

unread,
Jan 8, 2002, 12:54:47 PM1/8/02
to
Hi!

I've found that mozilla/gfx/src/qt/nsDeviceContextSpecQT.cpp
contains an undefined reference ('aChromeURL') at line 193:

rv = wwatch->OpenWindow(parent, aChromeURL,

This was introduced somewhere after the 0.9.7 build.
Indeed, the offending line in the 0.9.7 sources:

rv = wwatch->OpenWindow(parent,
"chrome://global/content/printdialog.xul",

Obviously the build fails unless aChromeURL is defined.

So I got most recent source by CVS and added the following line to
mozilla/gfx/src/qt/nsDeviceContextSpecQT.h :
#define aChromeURL "chrome://global/content/printdialog.xul"

Now mozilla builds successfully!

Is this a mozilla bug or should aChromeURL be defined somewhere else?
Please note that I'm not familiar with the mozilla source.

I have configured with:
--with-qtdir=/usr/lib/qt2
--enable-toolkit-qt
--disable-debug
--enable-optimize

Compiled under Linux 2.4.17, SuSE 7.3.
Please post if you have any additional questions!

Regards, Walter

0 new messages