You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to produce output from preprocessed file, CREAL is either C creal or by mistake struct() based emulation of it, somewhere in includes - hard to guess.
With gcc that would be running cpp sitting next to gcc with same params and picking the output, then compiling that output with gcc and same params, probably PGI has guide somewhere how to "output preprocessed C ffile"
These two lines are not supposed to be used on ppc, perhaps PGI does not define __POWER__?
Try changing the ifdef to __PPC__ (like it is a few lines above - both instances were from same commit #2731, probably got distracted in between and it did not matter with the compiler I had used at the time)
@brada4@martin-frbg
Andrew, Martin,
Thank you very much for pointing me to the right point. By adding "#define __POWER__1" to common.h it is successfully built now!
Activity
brada4 commentedon Nov 6, 2020
You need to produce output from preprocessed file,
CREALis either Ccrealor by mistake struct() based emulation of it, somewhere in includes - hard to guess.With gcc that would be running
cppsitting next togccwith same params and picking the output, then compiling that output with gcc and same params, probably PGI has guide somewhere how to "output preprocessed C ffile"martin-frbg commentedon Nov 6, 2020
These two lines are not supposed to be used on ppc, perhaps PGI does not define
__POWER__?Try changing the ifdef to
__PPC__(like it is a few lines above - both instances were from same commit #2731, probably got distracted in between and it did not matter with the compiler I had used at the time)sheltongeosx commentedon Nov 6, 2020
@brada4 @martin-frbg
Andrew, Martin,
Thank you very much for pointing me to the right point. By adding "#define __POWER__1" to common.h it is successfully built now!
Thanks,
Shelton