NetBSD-Bugs archive

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

Re: bin/52285: <pthread_types.h> requires C99



The following reply was made to PR bin/52285; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, n54%gmx.com@localhost
Subject: Re: bin/52285: <pthread_types.h> requires C99
Date: Fri, 9 Jun 2017 13:27:23 +0200

 On Fri, Jun 09, 2017 at 02:30:01AM +0000, Kamil Rytarowski wrote:
 >  >  Actually, it is not. There is practically no reason for forcing C89
 >  >  except a misguided attempt to ensure portability. Even then, the last
 >  >  big reason for wanting to stay with C89 is gone now that even
 >  >  Microsoft
 >  >  supports newer C.
 >  
 >  Lua, Perl, glib2 will stay with c89/gnu89 long time.
 >  
 >  There are also industry standards that enforce C89 like automotiv MISRA C
 
 POSIX 2008 requires C99, making the point pretty much irrelevant. C89
 compliant code builds just fine in C99 mode as such there is really no
 point in cattering to the most ancient denominator. There are even a
 couple if items where we want to explicitly break full C89
 compatibility. gets(3) for once.
 
 Joerg
 


Home | Main Index | Thread Index | Old Index