Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaring volatile std::vector #2

Open
durovsky opened this issue Jul 10, 2015 · 0 comments
Open

Declaring volatile std::vector #2

durovsky opened this issue Jul 10, 2015 · 0 comments

Comments

@durovsky
Copy link
Owner

file: cp1616_io_controller.h

Previous pointer style declaration
PNIO_IOXS volatile* volatile device_input_state_;

Current std::vector declaration
std::vector<PNIO_IOXS> input_module_state_;

It works even without volatile specifier, but if possible I would rather add it back. However I havn't figured out how to make std::vector "volatile" as previously in pointer style declaration

I have tried different combinations but nothing has compiled so far...

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

No branches or pull requests

1 participant