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

Compile warning: negative left shifts #48

Open
physnoct opened this issue Mar 11, 2022 · 0 comments
Open

Compile warning: negative left shifts #48

physnoct opened this issue Mar 11, 2022 · 0 comments

Comments

@physnoct
Copy link

physnoct commented Mar 11, 2022

home/user/.arduino15/packages/XMegaForArduino/hardware/avr/0.9.2/cores/xmega/HardwareSerial.cpp: In function 'uint16_t temp_get_baud(long unsigned int, uint8_t)':
/home/user/.arduino15/packages/XMegaForArduino/hardware/avr/0.9.2/cores/xmega/HardwareSerial.cpp:1063:20: warning: left shift of negative value [-Wshift-negative-value]
(uint16_t)(-1 << 12) | 137, // 57600

It goes on several lines.

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