• 2023-09-13 11:03 UTC+0200 Enrico Maria Giordano

    From Enrico Maria Giordano@21:1/5 to All on Wed Sep 13 11:05:24 2023
    Sorry:

    2023-09-13 11:03 UTC+0200 Enrico Maria Giordano
    <e.m.giordano@emagsoftware.it>
    * winmake\makefile.bc
    * contrib\tiff\tif_aux.c
    * contrib\tiff\tif_color.c
    * contrib\tiff\tif_luv.c
    ! Reverted the previous changes. Still searching for the proper
    fixes for BCC 7.60 64-bit...

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Wed Sep 13 21:44:23 2023
    I can't find the reason for this error:

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Wed Sep 13 12:57:15 2023
    On Wednesday, September 13, 2023 at 2:44:26 PM UTC-5, Enrico Maria Giordano wrote:
    I can't find the reason for this error:

    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:

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Wed Sep 13 22:55:52 2023
    Il 13/09/2023 21:57, Ron Pinkas ha scritto:

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Wed Sep 13 14:43:22 2023
    On Wednesday, September 13, 2023 at 3:55:55 PM UTC-5, Enrico Maria Giordano wrote:
    Il 13/09/2023 21:57, Ron Pinkas ha scritto:

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Sep 14 09:55:47 2023
    Il 13/09/2023 23:43, 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:
    <stdio.h>, <stdlib.h>, <string.h>, <math.h>, <ctype.h>, <errno.h>

    So I suspect adding such #include ABOVE that line should resolve this.

    Perfect, thank you! I would have know that myself... :-(

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)