[Vm-dev] Re: renaming dprintf

Bert Freudenberg bert at freudenbergs.de
Thu Aug 13 21:58:06 UTC 2009


On 13.08.2009, at 23:45, Ian Piumarta wrote:

> On Aug 13, 2009, at 2:16 PM, Bert Freudenberg wrote:
>
>> We could rename the Balloon3D DPRINTF to DPRINTF3D and the regular  
>> dprintf to DPRINTF.
>
> Yes, we could.  Nonetheless...
>
> I thought dprintf, being a GNU extension, would have absolutely no  
> right to pollute the global namespace unless specifically requested  
> by #define _GNU_SOURCE before inclusion of any header file?  Sounds  
> like a serious bug in glibc and/or the config of gcc on fedora 11 to  
> me.  Renaming every application function as/when gnu decides they  
> own the name is not a scalable solution.  I hope someone with a  
> fedora on which they can make a small test case is reporting this to  
> the relevant people.


Actually, it seems to be POSIX:

http://www.opengroup.org/onlinepubs/9699919799/functions/dprintf.html

- Bert -




More information about the Vm-dev mailing list