RTTI headers

Nix nix@esperi.demon.co.uk
Mon May 7 07:17:00 GMT 2001


On 7 May 2001, Puneet Singhal said:
> Can anyone tell me where the RTTI headers are lying?

With what version of GCC? (I'll assume gcc-2.95.x.)

The RTTI headers, like other headers provided (or modified) by the
compiler rather than the C library, are in the include/ subdirectory of
the directory given as the `install' directory when doing a `gcc
-print-search-dirs'.

> I am using RTTI and I need typeinfo.h for that. I cannot find this file
> anywhere.

That's probably because it's called <typeinfo>, not <typeinfo.h>.

-- 
`I like to think the situation could be likened to doing heart surgery
 in a hurry with a plastic spoon after having a couple of pints.'
                                                       --- James Reeves



More information about the Gcc-help mailing list