groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] CVS Build Problem


From: Werner LEMBERG
Subject: Re: [Groff] CVS Build Problem
Date: Wed, 27 Apr 2005 06:49:09 +0200 (CEST)

> It turns out that the problem is that search_path::search_path is
> called from a static constructor, but static constructors are called
> *before* the global environment pointer is set, so getenv() doesn't
> work in a static constructor.  Not being a C++ expert, I have no
> idea whether this is a bug in my C++ implementation or a bug in
> groff.

I think this is a compiler bug.  Can you try a newer compiler version?
At least one other compiler (on OS/390) has problems with static
constructors too (but more basic ones).  BTW, the code in question is
more than 15 years old since there is no specific entry in the
ChangeLog file.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]