Koji cannot build emacs

Roland McGrath roland at redhat.com
Thu Aug 9 19:59:53 UTC 2007


> sound.c:1472:51: error: macro "open" requires 3 arguments, but only 1 given
[...]
> What should I do ?  Drop "-D_FORTIFY_SOURCE=2" from the CFLAGS?

Nope.  Fix the program to be POSIX-compliant by not assuming open is not a
macro.  You can replace open or foo->open with (open) or (foo->open),
or you can add an #undef open where it's used.  The former is better.




More information about the Fedora-maintainers mailing list