Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
7 user(s) are online (6 user(s) are browsing Forum)

Members: 0
Guests: 7

more...


Browsing this Thread:   1 Anonymous Users






Re: Trivial program fails to compile on Icaros v2
#9
Home away from home
Home away from home


See User information
I submitted a news item late on Sunday. How often do news items tend to get approved?

Posted on: 2015/12/15 13:41
ChrisH
--
Author of the PortablE programming language.
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Trivial program fails to compile on Icaros v2
#8
Home away from home
Home away from home


See User information
@paolone

I don't think it's something to be concerned about for non-PortablE code.

Posted on: 2015/12/14 1:25
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Trivial program fails to compile on Icaros v2
#7
Home away from home
Home away from home


See User information
@paolone
You don't need to worry about this bug, since it occures with something that's obsolete...

... But I have released a new version of PortablE (see Aminet), that I'll be officially announcing when I am able to. Unlike previous version of PortablE, it works on Icaros v2.0.x .

Posted on: 2015/12/12 18:23
ChrisH
--
Author of the PortablE programming language.
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Trivial program fails to compile on Icaros v2
#6
Home away from home
Home away from home


See User information
Is there something I should care about, for the next Icaros release?

Posted on: 2015/12/12 17:33
p.bes
Icaros Desktop AROS distribution mantainer
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Trivial program fails to compile on Icaros v2
#5
Home away from home
Home away from home


See User information
I can confirm it's no-longer needed, thanks.

Posted on: 2015/12/11 21:22
ChrisH
--
Author of the PortablE programming language.
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Trivial program fails to compile on Icaros v2
#4
Home away from home
Home away from home


See User information
I'd say it's no longer needed, although using it may be a little more efficient.

Posted on: 2015/11/24 14:18
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Trivial program fails to compile on Icaros v2
#3
Home away from home
Home away from home


See User information
Quote:
How is this problem avoided by PortablE on AmigaOS?

According to my notes I only needed to use boopistubs.h on AROS (so that calls to DoMethodA()/etc would compile).

I haven't checked if it is still required for Icaros v2, so I'll check that...

Posted on: 2015/11/24 8:24
ChrisH
--
Author of the PortablE programming language.
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Trivial program fails to compile on Icaros v2
#2
Home away from home
Home away from home


See User information
It's likely to have compiled on pre-V2 Icaros versions because alib_protos.h formerly didn't contain prototypes for BOOPSI functions. This was changed in V2 because those prototypes are present in the AmigaOS 3.x alib_protos.h.

boopsistubs.h (which seems to be a cross-Amiga-platform non-standard include file) defines the symbol USE_BOOPSI_STUBS to try and prevent the problem you've encountered. However, there's a comment there stating that "In AmigaOS, this trick works only if you are using patched version of clib/alib_protos.h".

So this doesn't seem to be an AROS-specific problem. We could fix it by patching alib_protos.h to pay attention to USE_BOOPSI_STUBS, but I'm unsure if this is the correct thing to do since it isn't completely compatible with AmigaOS.

How is this problem avoided by PortablE on AmigaOS?

Posted on: 2015/11/24 1:29

Edited by ncafferkey on 2015/12/14 1:24:20
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Trivial program fails to compile on Icaros v2
#1
Home away from home
Home away from home


See User information
Hi

Not sure where it would be best to report this, but the following trivial program fails to compile on Icaros Desktop Live v2.0.3, where-as it probably compiled fine on earlier releases (v1.5, etc - certainly it compiles fine on AmiDevCpp) :

#include <clib/boopsistubs.h>
#include <clib/alib_protos.h>

int main() {
    return 
0;
}


A work-around is two swap the order of the two #includes, but I'm not yet sure if I can implement that kludge in PortablE...

Posted on: 2015/11/22 18:17
ChrisH
--
Author of the PortablE programming language.
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 







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.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project