I can't find the reason for this error:What does lIne 44 of e:\fw\bcc64\bcc\BIN\..\include\dinkumware64\xkeycheck.h reads:
In file included from contrib\tiff\tif_aux.c:34:
In file included from e:\fw\bcc64\bcc\BIN\..\include\windows\crtl\math.h:722:
In file included from e:\fw\bcc64\bcc\BIN\..\include\dinkumware64\ymath.h:4: In file included from e:\fw\bcc64\bcc\BIN\..\include\dinkumware64\yvals.h:17: e:\fw\bcc64\bcc\BIN\..\include\dinkumware64\xkeycheck.h:44:5: error:
keyword defined before including C standard header
#error keyword defined before including C standard header
^
In file included from contrib\tiff\tif_aux.c:34:
Any ideas?
--
Enrico Maria Giordano
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
What does lIne 44 of e:\fw\bcc64\bcc\BIN\..\include\dinkumware64\xkeycheck.h reads:
Il 13/09/2023 21:57, Ron Pinkas ha scritto:This means that THIS include file (by means of contrib\tiff\tif_aux.c:34) was included BEFORE a required standard header - which exactly I don't know it does not say it could be any of these:
What does lIne 44 of e:\fw\bcc64\bcc\BIN\..\include\dinkumware64\xkeycheck.h reads:/* xkeycheck.h internal header */
#ifndef _XKEYCHECK_H
#define _XKEYCHECK_H
#if !defined(__cplusplus)
#if defined(auto) /* check C keywords */ \
|| defined(break) \
|| defined(case) \
|| defined(char) \
|| defined(const) \
|| defined(continue) \
|| defined(default) \
|| defined(do) \
|| defined(double) \
|| defined(else) \
|| defined(enum) \
|| defined(extern) \
|| defined(float) \
|| defined(for) \
|| defined(goto) \
|| defined(if) \
|| defined(inline) \
|| defined(int) \
|| defined(long) \
|| defined(register) \
|| defined(restrict) \
|| defined(return) \
|| defined(short) \
|| defined(signed) \
|| defined(sizeof) \
|| defined(static) \
|| defined(struct) \
|| defined(switch) \
|| defined(typedef) \
|| defined(union) \
|| defined(unsigned) \
|| defined(void) \
|| defined(volatile) \
|| defined(while) \
|| defined(_Bool) \
|| defined(_Complex) \
|| defined(_Imaginary)
#error keyword defined before including C standard header <-- line 44
#endif /* defined... */
--
Enrico Maria Giordano
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
This means that THIS include file (by means of contrib\tiff\tif_aux.c:34) was included BEFORE a required standard header - which exactly I don't know it does not say it could be any of these:
<stdio.h>, <stdlib.h>, <string.h>, <math.h>, <ctype.h>, <errno.h>
So I suspect adding such #include ABOVE that line should resolve this.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 339 |
Nodes: | 16 (0 / 16) |
Uptime: | 08:20:38 |
Calls: | 7,467 |
Calls today: | 3 |
Files: | 12,692 |
Messages: | 5,626,373 |