EPEL pixel macro on 7 ppc64

Orion Poplawski orion at cora.nwra.com
Fri Jan 24 19:13:24 UTC 2014


Apparently gcc on EPEL7 pcc64 defines a macro named "pixel".  This breaks
imake in nx-libs:

In file included from ../../../../../config/cf/Imake.tmpl:2158:0,
                 from Imakefile.c:36:
../../../../../config/cf/X11.tmpl:1704:0: warning:
"UseInstalledOnCrossCompile" is not defined [-Wundef]
 # elif UseInstalledOnCrossCompile
 ^
In file included from ./Imakefile:25:0,
                 from ../../../../../config/cf/Imake.tmpl:2194,
                 from Imakefile.c:36:
./../../../../../lib/GL/mesa/main/Imakefile.inc:59:0: error: detected
recursion whilst expanding macro "pixel"
   $(MESABUILDDIR)pixel.c \
 ^

Perhaps this will only cause problems in imake, but I suspect it may trip
people up elsewhere so I'm mentioning it here.  I've fixed my build by adding
an "#undef pixel".

HTH,
  Orion

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nx-libs-ppc64.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/epel-devel/attachments/20140124/1614c9ba/attachment.bin>


More information about the epel-devel mailing list