autoconf
[Top][All Lists]
Advanced

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

Re: Selecting a C++ standard


From: Adrian Bunk
Subject: Re: Selecting a C++ standard
Date: Tue, 30 Oct 2012 16:35:44 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Oct 28, 2012 at 11:46:51AM -0500, Bob Friesenhahn wrote:
>...
> If the code was written for C89 then I am likely to want to continue
> compiling it for C89 if possible but also allow "best effort" if the
> compiler does not have a C89 mode.  If the code is updated to also
> work properly for C99, then C99 can be requested.
> 
> Those of us who updated C89 code to work with C99 compilers realize
> that it is not necessarily a trivial task (e.g. changes to aliasing
> rules).  C99 code can be written in a way that it will work with C89
> compilers, but C89-originated code may malfunction when compiled
> with C99 compilers.

If that is be true, then we have a serious problem with the current 
autoconf master.

Can you provide an example C89 program that does malfunction with
a C99 compiler?

> Bob

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




reply via email to

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