RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Previous|Next

  • Tickets
  • » Ticket #207

Ticket #207 (WontFix)Sat Jun 27 16:50:24 UTC 2009

Many signed v.s. unsigned and typecasting warnings during ROM compilation.

Reported by: Jan Rinze (235) Severity: Enhancement
Part: RISC OS: General Release:
Milestone: RISC OS ROM build complete Status WontFix

Details by Jan Rinze (235):

These warnings worry me the most:

odd unsigned comparison with 0: ‘<=’ implicit cast (to ‘int’) overflow unsigned constant overflow: ‘<<’ cast of ‘enum’ to differing enum

These happen often when constants are used to setup configuration bits.
The results will be compiler dependent. Also some processors may handle signed/unsigned differently..

This all might sound pedantic but code is very likely to break due to compiler dependencies here.
These warnings tell programmers that they may have been sloppy with typecasting and warn that things may not work as intended. Often resulting in unpredictable behavior and ‘random’ errors..

Best regards,

Jan Rinze.

Changelog:

Modified by Sprow (202) Fri, September 21 2012 - 21:31:14 GMT

  • Status changed from Open to WontFix

This is a general problem with all software everywhere – compilers become more and more strict and source code needs to be adjusted/tightened up.
Since the ticket is so vague I can’t see how it can ever be completed, hence I’m closing it. I know (myself included) squashing warnings is a common pastime.

  • Comment on, or change status of, this ticket

Previous|Next

Search tickets

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Options

  • Tickets
  • New ticket
  • Milestones
  • Subversion: Changesets
  • Subversion: Browse
  • CVS: Revisions
  • CVS: Browse
  • Search

RSS feeds Rss

  • Tickets
  • Everything!
  • More feeds...
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Collaboa theme is distantly based on the Collaboa default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Collaboa
This site runs on Rails

Hosted by Arachsys