26 July 2020, 19:34 | #1 |
Registered User
Join Date: May 2020
Location: Norwich, CT, USA
Posts: 39
|
What is wrong with GT_GetIMsg call?
struct IntuiMessage *message = NULL;
struct Window *window1; (this is set by a call to OpenWindowTags elsewhere) message = GT_GetIMsg (window1->UserPort); I'm using vbcc and I get error 39 "invalid types for assignment". I'm befuddled and cannot see the error. |
26 July 2020, 19:59 | #2 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
If I had to guess, you don't have the prototype in scope and the compiler thinks that function returns int?
|
26 July 2020, 20:36 | #3 |
Registered User
Join Date: May 2020
Location: Norwich, CT, USA
Posts: 39
|
Yep! Idiot (me) forgot the include file. <sigh> 40 years of programming and I still manage to forget the most simple things. You'd think by now....
Many thanks! |
30 July 2020, 19:44 | #4 |
Registered User
Join Date: May 2020
Location: Norwich, CT, USA
Posts: 39
|
It works.....
Well, after struggling for a week or so, I finally got the orders program for Age of Sail to compile. And kind of run. Well, it asks for the ship to load and then looks at you stupidly after you select one. So it is off to debugging land I go.
But still I find it quite amazing that the AmigaForever emulation is so good it can actually compile and run a 30 year old program. What a hoot! I am just having too much fun squinting at the tiny text and quirky OS. It is just so sad that Commodore botched this wonderful OS and sold it off - at the time it was their only profitable division, as I recall. Glad I kept all the old reference books. They're a bit musty from the basement, but they still have valuable info in them. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ports of call | turrican3 | Nostalgia & memories | 6 | 23 September 2019 13:01 |
What do you call yourself if you're not a retrogamer | Starglider 2 | Retrogaming General Discussion | 47 | 06 February 2018 08:15 |
Let's call it karma. Or something. | trooper | Retrogaming General Discussion | 10 | 19 September 2013 23:44 |
Ports of Call | Josh | request.Old Rare Games | 9 | 21 February 2010 23:32 |
Call to all UK Sceners, old and new! | rc55 | Amiga scene | 6 | 12 February 2008 01:41 |
|
|