order of include problem with shadow headers

Steven King sxking@uswest.net
Thu May 18 13:35:00 GMT 2000


the following program wont compile using the shadow headers if iostream is the
first include.  It appears to me to be related to the way sub-inclusion is
handled by generic_shadow.h.

#include <time.h>
#include <iostream>

int
main ()
{
   using ::time_t;
}

-- 
Steven King
sxking@uswest.net


More information about the Libstdc++ mailing list