On 06/07/2021 10:46 AM, hao jiu wrote:
> I recompile with removing duplicates inside the structure. it seems all
> well at the end of output message, and get a img.
In C language macros have a global scope in the compilation unit and may
not be redefined. Compilers should generate an error if a macro is
redefined with different value unless the macro in undefined before the
new definition. Other generate a warning even if the value is the same.
You can remove duplicates without causing any problem.
Ciao
Giovanni