Skip to content

Update application.h (int type overflow) - #12

Open
matock wants to merge 1 commit into
GaudiLabs:masterfrom
matock:patch-1
Open

Update application.h (int type overflow)#12
matock wants to merge 1 commit into
GaudiLabs:masterfrom
matock:patch-1

Conversation

@matock

@matock matock commented Nov 16, 2020

Copy link
Copy Markdown

Get a compilation error when activating SERIAL_ENABLED:

In file included from D:\Arduino\Project - Theremin\OpenTheremin_V3-master\Open_Theremin_V3\Open_Theremin_V3.ino:69:0:
sketch\application.h:36:29: warning: overflow in implicit constant conversion [-Woverflow]
static const int BAUD = 115200;

--> value 115200 is too big for 'int' type, must be 'long' instead.

Get a compilation error when activating SERIAL_ENABLED:

In file included from D:\Arduino\Project - Theremin\OpenTheremin_V3-master\Open_Theremin_V3\Open_Theremin_V3.ino:69:0:
sketch\application.h:36:29: warning: overflow in implicit constant conversion [-Woverflow]
     static const int BAUD = 115200;

--> value 115200 is too big for 'int' type, must be 'long' instead.
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

Successfully merging this pull request may close these issues.

1 participant