Browsing this Thread:
1 Anonymous Users
|
Re: Bug report under AROS PortablE
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
You're writing the rules for PortablE but under ANSI C/C++, unsigned integers are allowed to wrap around without invoking undefined behaviors. Signed integers are another story.
Posted on: 2015/3/13 15:53
|
|||
|
||||
|
Re: Bug report under AROS PortablE
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
If the 'exec/filesystem.h' doesn't exist, it certainly used to. I assume AROS must have done some reorganising of the includes. It ought to be easy to fix (famous last words), however I don't know when I'll get a chance to look at it... Do you need it fixing urgently?
Not sure about the UINT thing. I haven't tried to replicate this bug myself yet, but some example code might be helpful. It seems a bit strange it would happen, as a UINT should be declared as "TYPE UINT IS RANGE 0 TO 65535", so the parser ought to know it's range... The most likely explanation is that UINT is not defined like that! BTW, the type resulting from adding two UINTs together should be "RANGE 0 TO 131070" unless I am mistaken.
Posted on: 2015/3/12 18:30
|
|||
|
||||
|
Bug report under AROS PortablE
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
I have attached a PNG image (pointlessly Zip compressed again for the forum attachment) of an IcAros 2.0.3 session under VirtualBox. The two windows indicate that the expression parser incorrectly interpreted two UINT variables being added together having the wrong range: -65536 TO 65534 (should be 0 to 65534). Also the resultant GCC compile from the PEGCC shows that the AROS version is trying to #include a file called 'exec/filesystem.h' that doesn't exist under IcAros.
The configuration is 512 MiB RAM and two hardfiles, one for the program documents, one for the actual IcAros distribution. Both hardfiles are fixed in size. If these are known bugs, I apologize for the bother. Attach file: Link only for registered users
Posted on: 2015/3/10 15:10
|
|||
|
||||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.





