NetBSD-Bugs archive

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

Re: standards/47119: putc_unlocked(3) is found even with -std=c89



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

From: Martin Husemann <martin%duskware.de@localhost>
To: Steffen Daode Nurpmeso <sdaoden%gmail.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: standards/47119: putc_unlocked(3) is found even with -std=c89
Date: Wed, 24 Oct 2012 15:15:04 +0200

 On Wed, Oct 24, 2012 at 03:11:03PM +0200, Steffen Daode Nurpmeso wrote:
 > Because it is not part of C89/C99?
 
 You are misunderstanding the compiler option - it has no influence on the
 symbols visible in libraries nor system headers (at least in general).
 There are a few defines you can add via -D to make the headers pollute less
 namespace, but since this is a posix blessed function, it is better
 to avoid a name clash in application code.
 
 Martin
 


Home | Main Index | Thread Index | Old Index