------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1308 Summary: compiling with c99 needs more strictness Product: PCRE Version: N/A Platform: Other OS/Version: Linux Status: NEW Severity: wishlist Priority: low Component: Code AssignedTo: [email protected] ReportedBy: [email protected] CC: [email protected] here are some hacks to compile with std=c99 I am sure there are more elegant ways to do this. the includes are needed for fileno which was not declared Index: pcregrep.c =================================================================== --- pcregrep.c (revision 1053) +++ pcregrep.c (working copy) @@ -64,6 +66,11 @@ #endif #include "pcre.h" +# define S_IFMT __S_IFMT +# define S_IFREG __S_IFREG +# define S_IFDIR __S_IFDIR +#include <unistd.h> +#include <stdio.h> #define FALSE 0 #define TRUE 1 -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev
