From owner-freebsd-mozilla@FreeBSD.ORG Sat Apr 12 07:03:18 2003 Return-Path: Delivered-To: freebsd-mozilla@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3BE637B401; Sat, 12 Apr 2003 07:03:18 -0700 (PDT) Received: from mail.oook.cz (gprs3145.eurotel.cz [160.218.194.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2F8143FAF; Sat, 12 Apr 2003 07:03:12 -0700 (PDT) (envelope-from pav@oook.cz) Received: from [127.0.0.1] (localhost.oook.cz [127.0.0.1]) by mail.oook.cz (8.12.6/8.12.6) with ESMTP id h3CE2KbG041756; Sat, 12 Apr 2003 16:02:24 +0200 (CEST) (envelope-from pav@oook.cz) From: Pav Lucistnik To: freebsd-gnome@freebsd.org In-Reply-To: <1050144588.48539.7.camel@pav.oook.cz> References: <1050144588.48539.7.camel@pav.oook.cz> Content-Type: text/plain Organization: Message-Id: <1050156140.48539.36.camel@pav.oook.cz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 12 Apr 2003 16:02:20 +0200 Content-Transfer-Encoding: 7bit cc: freebsd-mozilla@freebsd.org Subject: Re: galeon-1.2.9 gettext build problem X-BeenThere: freebsd-mozilla@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mozilla browser issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2003 14:03:19 -0000 V so, 12. 04. 2003 v 12.49, Pav Lucistnik napsal: > Hi, I'm updating Mozilla/Galeon on my 5.0-RELEASE system. Galeon > compilation bombs on undefined Lgettext: > > ContentHandler.cpp: In member function `virtual nsresult > GContentHandler::PromptForSaveToFile(nsISupports*, const PRUnichar*, > const > PRUnichar*, nsILocalFile**)': > ContentHandler.cpp:367: `Lgettext' undeclared (first use this function) > Problematic line is: > NS_NAMED_LITERAL_STRING (title, _("Select the destination filename")); Tracked it down to macro expansion: Mozilla header string/nsLiteralString.h defines: #define NS_NAMED_LITERAL_STRING(n,s) NS_NAMED_MULTILINE_LITERAL_STRING(n, NS_LL(s)) and #define NS_L(s) NS_LL(s) so it looks like my compiler expands NS_NAMED_LITERAL_STRING macro, and then when looking how to expand NS_LL(s) macro it used NS_L(s) macro instead of desired NS_LL(s) macro... My C++ skills ends here :( anyone can help? My gcc is stock from 5.0: # c++ -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.1 [FreeBSD] 20021119 (release) I don't have any non-standard options in /etc/make.conf -- Pav Lucistnik Oh, no! Aaargh! It is the most unnatural, most disgusting creature imaginable: a two-eyed cyclops!