#AMIGAICON_TOOL

Report any Hollywood bugs here
Post Reply
ilbarbax
Posts: 112
Joined: Thu Apr 01, 2010 6:41 pm

#AMIGAICON_TOOL

Post by ilbarbax »

Hi

I developed my program under different Amiga systems using #AMIGAICON_TOOL in conjunction with SetIconProperties and obviously it works fine. Moving under Windows the constant is not recognized and stop the compiling, then to compile the program I have to comment the line. Does not matter if I check first which is the system in use in order to use or not use the SetIconProperties command.
I think that in the non Amiga system the constant should be anyway recognized by the compiler and at the maximum ignored, but leaving the possibility to port the code as it is.

regards
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: #AMIGAICON_TOOL

Post by airsoftsoftwair »

Hmm, you do have a point there... currently, constants for platform-dependent features are only defined on the corresponding platform. However, as you've described, this can impede cross-platform development because scripts don't compile any longer. I'll make up my mind about whether or not we need a change here...
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: #AMIGAICON_TOOL

Post by airsoftsoftwair »

Ok, changed this.
Post Reply