pingus-devel
[Top][All Lists]
Advanced

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

Re: snprintf and g++


From: David Philippi
Subject: Re: snprintf and g++
Date: Fri, 20 Sep 2002 11:24:31 +0200
User-agent: KMail/1.4.1

On Friday 20 September 2002 01:02, Gervase Lam wrote:
> However, the link changes also resulted in no errors in the files that had
> snprintf, even though the files did not have #include<stdio.h>.  Strictly
> speaking, there should be a #include<stdio.h> in a file where snprintf is
> as it could be that the other include files might not have
> #include<stdio.h> in any of them.

No. If there's no #include <stdio.h> in any header included by the file, add 
an include. If it is already included leave it out ! Those redundant and 
useless includes make the include graphs generated by Doxygen unreadable and 
do nothing but eating up compile time.

Bye David






reply via email to

[Prev in Thread] Current Thread [Next in Thread]