bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

csharpexec.c causes intmax_t from config.h to be redefined.


From: John Malmberg
Subject: csharpexec.c causes intmax_t from config.h to be redefined.
Date: Mon, 19 Jun 2017 08:33:07 -0500
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0

On VMS, the config.h file is generated to "#define intmax_t long long".

The csharpexec.c module includes config.h and then includes some header files that redefine intmax_t.

After it does that, it #includes "classpath.c" which then includes config.h again.

This causes the original definition to be restored, and the VMS C compiler issues a diagnostic about it.

#define intmax_t long long
.................^
%CC-W-MACROREDEF, The redefinition of the macro "intmax_t" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect.

Is this an expected behavior?

Regards,
-John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]