Fixes are available
APAR status
Closed as program error.
Error description
In cases of complex function-like macro usage, the preprocessor is not expanding certain intermediate macro invocations, resulting in incorrect preprocessor output. Also, whitespace is not maintained after certain expansions and substitutions. === EXAMPLE === #define mymac1(...) __VA_ARGS__ #define mymac3(a) mac5(mymac1 mymac2(a)) - Generated function-like macro 'mymac1 mymac2(a)' may not be expanded after mymac2(a) substitution - Whitespace ' ' between 'mymac1' and 'mymac2(a)' may not be preserved
Local fix
Problem summary
PROBLEM DESCRIPTION: Fail to expand function-like macro which was composed during another macro expansion. USERS AFFECTED: Users who are using complex C macros.
Problem conclusion
This fix handles the function-like macro correctly when the macro is composed from another macro expansion.
Temporary fix
Comments
APAR Information
APAR number
IJ08168
Reported component name
XL C FOR AIX
Reported component ID
5725C7100
Reported release
D13
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-08-02
Closed date
2018-08-02
Last modified date
2018-08-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
XL C FOR AIX
Fixed component ID
5725C7100
Applicable component levels
RD13 PSN IJ02394
UP06/09/13
[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D13"}]
Document Information
Modified date:
24 August 2021