Re: How to positively detect if rtti is enabled or not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@Marc Glisse-6,

Thanks for that, but can you provide a little more info, please? I'm to
create a text file called empty.cc, and its contents should be:

Create an empty file empty.cc, then 

$ g++ -E -dM e.cc > 1 
$ g++ -E -dM e.cc -fno-rtti > 2 
$ diff 1 2 
108d107 
< #define __GXX_RTTI 1 
202d200 
< #define __cpp_rtti 199711

Is that right? And then what do I do with it? Sorry - this is way
lower-level coding than I'm used to. Thanks.



--
Sent from: http://gcc.1065356.n8.nabble.com/gcc-Help-f629689.html



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux