Problems with evolving feature test macros?

Paul Eggert eggert@cs.ucla.edu
Sun Mar 16 02:17:00 GMT 2014


Christoph Hellwig wrote:
> if I want to write a portable application having libc help me using only APIs provided in a well defined standard is useful

In theory that argument makes sense, but in practice almost nobody 
writes strictly conforming applications because it's too much trouble 
and these applications would have to do without too many useful features 
and speedups.  Instead, portable applications tend to take an 
Autoconf-style approach, and accommodate themselves to whatever the 
platform has to offer.

For more about why strictly-conforming apps are rare, please see:

Walli SR. The myth of application source-code conformance. StandardView 
1996;4(2);94–9. http://dx.doi.org/10.1145/234999.235002



More information about the Libc-alpha mailing list