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

Re: Koji cannot build emacs



> 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.


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