View Single Post
Old 03 January 2023, 22:36   #6
hceline
Registered User
 
Join Date: Nov 2009
Location: Top of the world
Posts: 161
Quote:
Originally Posted by thomas View Post
I am not sure what you are trying to do. As Thomas pointed out, the ...Tags() function should be provided by the compiler, it is not needed to make a stub for it.

I'm just trying to compile a old program, not written by me, with it's library with the new NDK.
I thought it might be a simple way to test my new install/compiler setup, as I had an easy time updating it for NDK3.1 earlier.



Quote:
Originally Posted by thomas View Post
But anyway, this could work for you:

Code:
APTR AllocAslRequestTags (ULONG type, ...)
{
    return AllocAslRequest(type,(struct TagItem *)((&type) + 1));
}
This compiled, will see if it works when I get the whole ting compiling.

Last edited by hceline; 03 January 2023 at 22:42. Reason: Cleaned up quote, had a few irellevant lines.
hceline is offline  
 
Page generated in 0.04767 seconds with 11 queries