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

Need to declare variables volatile when using gcc 8.1.0 #117

Open
elekven-m opened this issue Sep 30, 2019 · 0 comments
Open

Need to declare variables volatile when using gcc 8.1.0 #117

elekven-m opened this issue Sep 30, 2019 · 0 comments

Comments

@elekven-m
Copy link

In ideviceinstaller.c, around lines 110 to 117, the variables wait_for_command_complete, use_notifier, notification_expected, is_device_connected, command_completed, err_occurred, and notified need to be declared volatile when compiling with gcc 8.1.0 with standard make or else they are not re-read in the spinloops which is required as they are used to pass info from the background thread to the foreground (which is spinning).

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