[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build
From: |
Gabriel Dos Reis |
Subject: |
Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build |
Date: |
08 Jan 2005 23:18:32 +0100 |
root <address@hidden> writes:
| your tracking is helping a lot. keep up the good work.
| i can't track it here because it works here.
I finally nailed its origin down to /usr/include/linux/compiler.h
In that file, we have
=====
/* Somewhere in the middle of the GCC 2.96 development cycle, we implemented
a mechanism by which the user can annotate likely branch directions and
expect the blocks to be reordered appropriately. Define __builtin_expect
to nothing for earlier compilers. */
#if __GNUC__ == 2 && __GNUC_MINOR__ < 96
#define __builtin_expect(x, expected_value) (x)
#endif
#define likely(x) __builtin_expect((x),1)
#define unlikely(x) __builtin_expect((x),0)
=====
Notice that those defines are not guarded by __KERNEL__.
I would suggest that, Axiom spells its C MACROS all in CAPS, and
prefix them with AXIOM_.
Is that workable?
-- Gaby
- [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, Gabriel Dos Reis, 2005/01/04
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, root, 2005/01/04
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, Gabriel Dos Reis, 2005/01/04
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, Gabriel Dos Reis, 2005/01/04
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, root, 2005/01/04
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, root, 2005/01/04
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, Gabriel Dos Reis, 2005/01/04
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, root, 2005/01/04
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build,
Gabriel Dos Reis <=
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, root, 2005/01/08
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, Gabriel Dos Reis, 2005/01/08
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, Gabriel Dos Reis, 2005/01/04
- Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build, root, 2005/01/04