This is the mail archive of the libstdc++@sources.redhat.com 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]

Re: [v3] install backwards headers in prefix


On 15 Dec 2000 at 14:16 (-0800), Nathan Myers wrote:
| On Fri, Dec 15, 2000 at 12:23:47PM -0800, Benjamin Kosnik wrote:
| > 
| > I'm completely opposed to special-casing iostream.h. 
| 
| I'm completely opposed to shoveling the entire current contents of 
| backward/ into the same directory with <iostream>.  I think we are
| obliged to make a visible distinction between random crap that floated 
| out of the sewer, and components that once were considered standard but 
| have been superseded.  There are very few of the latter.

It would make sense to me to install the old headers (replete with 
unconditional warnings) to ${prefix}/include/g++-deprecated/ and the 
std headers to $prefix/include/, then modify g++'s include path to be
 ${prefix}/include/g++-deprecated
 ${prefix}/include
 ${prefix}/lib/gcc-lib/i686-pc-linux-gnu/2.97/include
 ${prefix}/i686-pc-linux-gnu/include
 /usr/include

This would break no existing/deprecated c++ code, while leaving the
eventual deprecation of the old headers to the maintainers discretion,
while _not_ cluttering the /include/ directory.

patchlessly suggestive,
  Brent


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