Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
18 user(s) are online (13 user(s) are browsing Forums)

Members: 0
Guests: 18

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: SDL2

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

@Raziel
@Hans
Quote:
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