On 2/7/22 10:54, grischka wrote:
David CARLIER wrote:
Hi if nobody objects, I may apply the last aforementioned patch
sometime next week.
Since you asked:
--- a/tests/tests2/46_grep.c
+++ b/tests/tests2/46_grep.c
@@ -14,6 +14,9 @@
* included and reference made to the fact that reproduction
* privileges were granted by DECUS.
*/
+#if defined(__FreeBSD__)
+#include <sys/cdefs.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h> // tolower()
- what is this (nobody will know without a comment)
- sys/cdefs.h is not that a user file should include
- 46_grep.c looks really "innocent" enough that it should compile
OOTB on any C and platform
- in general, when tests fail, we want the problem be fixed, not the test
Maybe you can find a better solution, or maybe someone else can...
-- gr
I checked the stdio.h file on freebsd 12.2 and 13.0 and see:
.....
#ifndef _STDIO_H_
#define _STDIO_H_
#include <sys/cdefs.h>
.....
So the file is included in stdio.h for freebsd.
What version of freebsd are you using?
Herman
PS:
I just added a fix for freebsd 13.0 in mob.
Kind regards.
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel