[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solving the config.h nightmare ?
From: |
Russ Allbery |
Subject: |
Re: Solving the config.h nightmare ? |
Date: |
Sun, 23 Apr 2006 10:54:24 -0700 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.18 (linux) |
Daniel Reed <address@hidden> writes:
> Not if the API has been abstracted adequately. Data types that are used
> internally should never *need* to be used as part of the API, and hence
> their changing definitions between library build time and dependent
> software build time should not affect ABI in any way.
I prefer to use standard C types like uint32_t and bool in my APIs where
appropriate rather than hobble and uglify my API to avoid using standard
types that a small handful of systems don't have. I'd rather include a
bit of Autoconf-generated magic to fix broken systems and keep the
mainstream code more readable and standard, provided it can be done
safely. Which it can if you're careful.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>
- Re: Solving the config.h nightmare ?, (continued)
- Re: Solving the config.h nightmare ?, Bruce Korb, 2006/04/22
- Re: Solving the config.h nightmare ?, Olivier Boudeville, 2006/04/22
- Re: Solving the config.h nightmare ?, Ralf Wildenhues, 2006/04/22
- Re: Solving the config.h nightmare ?, Russ Allbery, 2006/04/22
- Re: Solving the config.h nightmare ?, Bob Friesenhahn, 2006/04/22
- Re: Solving the config.h nightmare ?, Ralf Wildenhues, 2006/04/23
- Re: Solving the config.h nightmare ?, Russ Allbery, 2006/04/23
- Re: Solving the config.h nightmare ?, Ralf Wildenhues, 2006/04/23
- Re: Solving the config.h nightmare ?, Daniel Reed, 2006/04/23
- Re: Solving the config.h nightmare ?,
Russ Allbery <=
- Re: Solving the config.h nightmare ?, Bob Friesenhahn, 2006/04/23
- Re: Solving the config.h nightmare ?, Daniel Reed, 2006/04/23
- Re: Solving the config.h nightmare ?, Bob Friesenhahn, 2006/04/23
- Re: Solving the config.h nightmare ?, Daniel Reed, 2006/04/23
- Re: Solving the config.h nightmare ?, Bob Friesenhahn, 2006/04/23
- Re: Solving the config.h nightmare ?, Daniel Reed, 2006/04/23
- Re: Solving the config.h nightmare ?, Daniel Reed, 2006/04/23
Re: Solving the config.h nightmare ?, Bruce Korb, 2006/04/22
Re: Solving the config.h nightmare ?, Daniel Reed, 2006/04/23