This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compat: Missing things from libstdc++-v3/python/libstdcxx/v6/printers.py


Debugging GCC 6.2-built programs I found at least one data type left
out of the STL pretty-printers for GDB (in my particular case, I
discovered it's missing std::__cxx11::list).

I can edit the file and just add an entry there to treat
std::__cxx11::list the same as std::list, but looking at the latest
content of the macros from the dev HEAD I see many other changes.  I
assume some of these are related to newer code that will be available
when GCC 7 is released though.

So, my question is, are these macros intended to be backward-compatible 
such that if I use a newer set of macros with a program built with an
older libstdc++ STL, should they still work?

In other words if I take the latest set of printer macros from dev HEAD
and start using them with GCC 6.2 (I use -std=gnu++14), are they
intended to work (modulo bugs)?

Cheers!


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