Re: Selecting a C++ standard

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux