This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: namespace pollution
- From: Prof dot Farnsworth at gmx dot com
- To: "Benjamin Kosnik" <bkoz at redhat dot com>
- Cc: libstdc++ at sources dot redhat dot com,"Steven King" <sxking at uswest dot net>
- Date: Wed, 30 Oct 2002 20:38:28 +0100
- Subject: Re: namespace pollution
How about this one:
#include <iostream>
typedef double time_t;
leads to
conflicting types for `typedef double time_t'
/usr/include/time.h:70: previous declaration as `typedef __time_t time_t'
AFAIK, this should not happen when using a std header without .h
Regards,
Philipp