www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/05/09:18:29

From: Ian Tiberius Miller <itmiller AT dra DOT hmg DOT gb DOT removeme>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ missing file
Date: 02 Jul 1997 13:28:41 +0100
Organization: Defence Research Agency
Message-ID: <877mf9zlhi.fsf@hasn.dra.hmg.gb>
References: <33B89CC7 DOT 3327 AT ix DOT netcom DOT com>
NNTP-Posting-Host: 146.80.115.106
Lines: 40
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

"Klywarre (THE AVATAR)" <mortral AT ix DOT netcom DOT com> writes:

> 
> I've been wondering through the lang/cxx directory last night and
> today; found a lot of files with no '.h' ext.  That is fine --- there
> was another file with the same name but with the '.h' ext.
> 
>    Now the problem ---------       There is a file called:   queue
> 
> 
>                                     But where is         queue.h
>                                                          -------
> 
>     This file   queue.h  is *nowhere* to be found!!!!!!!!!
> 
>      Anyone with ideas.............   James

The draft ISO C++ standard says that standard library headers shall be
included like so

#include <iostream>
#include <fstream>
...

Notice that there is no .h in these filenames. A C++ compiler is free
implement this inclusion in any way it likes. Evidently, gcc does so
simply by renaming/copying the old headers to the new ".h-less" names.

As far as that "queue" file is concerned, maybe it is a new include
file for a new library class. (I don't care really.) Is it actually
a problem?

If you are really interested, you can get an HTML copy of the draft
C++ standard from

http://www.cygnus.com/misc/wp

-- 
Ian Miller, Dorset, UK
DJGPP 2.01, Win95 DOS box (LFN undefined, FNCASE=y)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019