texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] build failure with gcc 3.3 on hppa


From: David Allouche
Subject: Re: [Texmacs-dev] build failure with gcc 3.3 on hppa
Date: Thu, 3 Jul 2003 10:33:30 +0200
User-agent: Mutt/1.5.4i

On Thu, Jul 03, 2003 at 08:50:54AM +0200, Ralf Treinen wrote:
> On Wed, Jul 02, 2003 at 09:02:36PM +0200, Ralf Treinen wrote:
> > I just received a bug report about texmacs 1.0.1.14 not compiling
> > on the hppa architecture. The current compiler on this architecture
> > is gcc 3.3. The preceding version packaged for debian, 1.0.1.9,
> > compiled fine on hppa using gcc 3.2.
> > 
> > The strange thing is that texmacs 1.0.1.14 compiles fine with
> > gcc 3.3 even on other 64bit archtectures, like for instance ia64.
> > Does anyone have an idea what can be done about this bug?
> 
> Classes/Abstract/basic.cc:22: error: integer constant is too large for
> "long" type
[...]
> Classes/Abstract/basic.cc:55: error: integer constant is too large for
> "long" type

The problematic integer constant probably is WORD_MASK, which is
defined in the configure.in as "0xfffffffffffffff8" for the
architecture hppa64-*-linux-gnu*.

Note, however, that it is surprising that a 64bit literal does not fit
in a "long" on a 64bit architecture...

As I said a few days ago, I really think that these architecture
dependent definitions (WORD_LENGTH, WORD_LENGTH_INC, WORD_MAX,
WORD_MAX_FAST) in configure.in should be removed and replaced by some
sizeof-based arithmetic and standard header definitions. But as I do
not understand what they mean, I just cannot do it.

-- 
                                                            -- ddaa




reply via email to

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