Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

std::queue pretty printing does not work anymore #4

Open
koutheir opened this issue Oct 25, 2018 · 2 comments
Open

std::queue pretty printing does not work anymore #4

koutheir opened this issue Oct 25, 2018 · 2 comments

Comments

@koutheir
Copy link
Owner

The pretty printing for std::queue does not work anymore.

@koutheir
Copy link
Owner Author

koutheir commented Nov 1, 2018

The commit 4518026 solves some of the issues, but GDB still complains because the static const value __deque_iterator::__block_size is optimized out by the C++ compiler. __deque_iterator::__block_size is needed in order to print std::deque instances and other containers that use std::deque under the hood, such as std::queue.

The __deque_iterator::__block_size constant is defined as equal to __deque_block_size::value which is defined (depending on some template types) as:

static const _DiffType value = sizeof(_ValueType) < 256 ? 4096 / sizeof(_ValueType) : 16;

For the moment, I don't see how to solve this issue.

@koutheir
Copy link
Owner Author

This repository has been moved to codeberg.org.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant