Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Woodlands-Glen

Member Since 27 Nov 2011
Offline Last Active Feb 03 2014 04:06 PM
-----

#54130 opcode Warnings

Posted by Woodlands-Glen on 17 November 2013 - 08:43 PM

Chris,

 

I would if you point me in the direction of bug submissions.  I don't know how to submit a bug.

 

Here are some examples:

 

Message = Message.Substring(0, Message.Length-2)

 

Causes

 

opcode 'sub.ovf' -- overflow will not throw exception

 

EndPosition = Message.Length-1

 

Cases the same warning

 

Dim NewMessageArray(EndPosition-StartPosition) as byte

 

Causes the same warning and

 

opcode 'add.ovf' -- overflow will not throw exception

 

For Position = StartPosition to EndPosition

  ...

  ...

Next

The 'Next' causes opcode 'add.ovf' -- overflow will not throw exception

 

And there are many more.  They have not causes a problem in execution yet, will all of the warning messaged, it is difficult to see what really needs to be addressed and what may cause problems in the future.

 

Glen




home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.