View Single Post
Old 03-10-2017, 12:51 AM   #1
Nowhk
Human being with feelings
 
Join Date: Mar 2016
Posts: 234
Default Last fork of WDL-OL introduces these "new" warnings in VS2015...

I've forked the actual WDL-OL and made my own WDL-Nowhk (for custom edits).

Now it seems that every time I include the IPlugStructs.h header, it show me these "new" warnings at every compile unit:

Code:
1>d:\development\c++\wdl-nowhk\wdl\iplug\IPlugStructs.h(223): warning C4244: 'initializing': conversion from 'float' to 'int', possible loss of data
1>d:\development\c++\wdl-nowhk\wdl\iplug\IPlugStructs.h(225): warning C4244: 'argument': conversion from 'float' to 'int', possible loss of data
1>d:\development\c++\wdl-nowhk\wdl\iplug\IPlugStructs.h(231): warning C4244: 'initializing': conversion from 'float' to 'int', possible loss of data
1>d:\development\c++\wdl-nowhk\wdl\iplug\IPlugStructs.h(233): warning C4244: 'argument': conversion from 'float' to 'int', possible loss of data
Before the fork I didn't see it. Is it that normal? I don't think so.

How should I fix it? I wouldn't add a "4244;" on "Disable Specific Warning" within VS2015.

Should I manually cast these lines to (int) and send a "pull-request" change?
Sorry I'm a novice of Git
Nowhk is offline   Reply With Quote