Ethereal-dev: Re: [Ethereal-dev] Problems compiling latest CVS with VisualC (again, FAQ.includ

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Mon, 24 Feb 2003 22:30:12 +0100
On Mon, Feb 24, 2003 at 06:52:56PM +0100, Ulf Lamping wrote:
> Again, I have problems with FAQ.include!
> Visual C is telling me:
> ../FAQ.include(1452) : fatal error C1091: Compiler-Beschränkung: Die Zeichenfolge überschreitet die Länge um 65535 Bytes
> If I cut the length of FAQ.include down to a much smaller size, I have no problems compiling at all.
> So I think, the constant String in FAQ.include is too long for the Visual C compiler :-(
> I think Guy mentioned earlier, the clean way would be to read the FAQ out of a file, coming with the packaging,
> instead of compiling it into the program.

Sigh. The FAQ is currently not installed when you do a simple make install. It's only included in thepackaging process.
I currently have no idea how to impelment the file reading at runtime because the file isn't always there (make install)
and might be in a completely different place in case Ethereal has been installed as part of a package.

Does anyone have a solution or should I just remove the FAQ from the help menu again?

  Ciao
        Jörg

--
Joerg Mayer                                          <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.