This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/1886
- To: nobody at gcc dot gnu dot org
- Subject: Re: libstdc++/1886
- From: benjamin kosnik <bkoz at nabi dot net>
- Date: 28 Feb 2001 03:06:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: benjamin kosnik <bkoz at nabi dot net>
The following reply was made to PR libstdc++/1886; it has been noted by GNATS.
From: benjamin kosnik <bkoz@nabi.net>
To: gcc-gnats@gcc.gnu.org, bumgard@roguewave.com, nobody@gcc.gnu.org
Cc:
Subject: Re: libstdc++/1886
Date: Tue, 27 Feb 2001 18:58:39 -0800
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1886&database=gcc
Hey. There is a way to do this: it involves breaking up the
config/c_io_libio.cc and config/c_io_stdio.cc files into two pieces:
config/basic_file_libio.h
config/basic_file_libio.cc
config/basic_file_stdio.h
config/basic_file_stdio.cc
and then using configure magic to link the appropriate header file to
include/bits/basic_file_model.h
which is then included at the end of include/bits/basic_file.h.
The .cc file is then added to the src's that are compiled.
Seems to work for instantiating basic_filebuf<short>, so pending
arguments I'll check it in.
thanks,
benjamin