[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: check for C99-compliant snprintf
From: |
Paul Eggert |
Subject: |
Re: check for C99-compliant snprintf |
Date: |
Thu, 15 Feb 2007 22:34:36 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
It's a bit of a pain that this will reject all cross-compiled snprintfs.
Is there some way you can test for this at compile-time?
Does the nonstandard snprintf have exactly the same signature as the
C99 snprintf? If not, we should be able to catch this at
compile-time.
Does the nonstandard implementation have a vsnprintf? If not, we
could test for that at link-time and cross-compiles wouldn't have to
substitute snprintf except on clearly pre-C99 systems.
Basically, I'm looking for any way we can distinguish the nonstandard
implementation without running it.
- check for C99-compliant snprintf, Ben Pfaff, 2007/02/16
- Re: check for C99-compliant snprintf,
Paul Eggert <=
- Re: check for C99-compliant snprintf, Ben Pfaff, 2007/02/16
- Re: check for C99-compliant snprintf, Paul Eggert, 2007/02/16
- Re: check for C99-compliant snprintf, Ben Pfaff, 2007/02/16
- Re: check for C99-compliant snprintf, Albert Chin, 2007/02/19
- Re: check for C99-compliant snprintf, Ben Pfaff, 2007/02/19
- Re: check for C99-compliant snprintf, Albert Chin, 2007/02/19
- Re: check for C99-compliant snprintf, Ben Pfaff, 2007/02/19
- Re: check for C99-compliant snprintf, Albert Chin, 2007/02/19
- Re: check for C99-compliant snprintf, Bruno Haible, 2007/02/19
- Re: check for C99-compliant snprintf, Ben Pfaff, 2007/02/19