This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH??] libstdc++-v3/config/locale/gnu/c_locale.h


Nathan Myers <ncm-nospam@cantrip.org> writes:

| On Sun, Aug 24, 2003 at 05:59:08PM +0200, Gabriel Dos Reis wrote:
| > Chris Lattner <sabre@nondot.org> writes:
| > 
| > | +#include <string.h>
| > | +#include <malloc.h>
| > 
| > <malloc.h> is not a standard header.  The function malloc() is defined
| > in <cstdlib>.  Also, the headr for C-string functions should be
| > <cstring> not <string.h>.
| 
| The docs/html/17_intro/HEADER_POLICY notes
| 
|   Only standard headers <bits/std_xxxx.h> should sub-include

this is out-of-date.

dromion[4:18]% ls bits/std_*                 ~/redhat/egcs/libstdc++-v3/include
zsh: no matches found: bits/std_*

You might want to replace it with std/std_xxx.h, ext/xxx, backward/xxx.h.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]