Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
117 user(s) are online (99 user(s) are browsing Forums)

Members: 0
Guests: 117

more...

Support us!

Headlines

Report message:*
 

Re: Redeclaration error

Subject: Re: Redeclaration error
by kas1e on 2020/11/7 9:06:31

@Raziel
https://os4coding.net/forum/how-avoid- ... iables-conflicts-best-way

In brief, if it c++, then use -D__USE_AMIGAOS_NAMESPACE__ when compile source.

If it C, then the only solution is to rename those conflicting names in your code (like finding out in all the files where the word "Image" happens to be and rename it to something else like "_Image"). Alternatively, as Salas00 says in the second post of the thread I pointed out: avoid including AmigaOS includes in such files that have these conflicting definitions. But that IMHO harder in comparison with just renaming all "Image" words on "_Image".

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project