Remember me

Lost Password?

Register now!
Who's Online
41 user(s) are online (21 user(s) are browsing Forums)

Members: 0
Guests: 41

Support us!
Recent OS4 Files
Report message:*

Re: SDL2

Subject: Re: SDL2
by Daytona675x on 2019/3/25 12:33:25

for C++ there is an option to enclose system headers in a C++ namespace

For C++: If you define __USE_AMIGAOS_NAMESPACE__ then everything Amiga-SDK-related will be put into the AmigaOS namespace, so e.g. Image becomes AmigaOS::Image.
Note however that the SDK's idltool had a bug until end of 2016 which caused it to create slightly wrong header-files which didn't fully respect this define. One ogles2.lib header suffered from this too, it had been noticed and fixed just recently in v2.1.
Some other lib's headers may of course still suffer from this issue and you'll probably have to manually correct them.
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project