TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: David Noon
from: mark lewis
date: 1999-01-10 15:23:58
subject: making dmake with emx 0.9d

another comment ;-)

 ml> i'm manually entering each of the commands in
 ml> \DMAKE\EMX\MAKE.CMD and here's what i get for the first...

 ml> ===== snip =====
 ml> H:\dmake >gcc -c -I. -Iemx -DOS2 -U__GNUC__ -Zmtd -O infer.c
 ml> In file included from extern.h:66,
 ml>                  from infer.c:40:
 ml> emx\public.h:161: conflicting types for `_chdir'
 ml> H:\EMX\INCLUDE\stdlib.h:194: previous declaration of `_chdir'
 ml> ===== snip =====

i see this for all the .c files up to dmake.c which tells me this...

===== snip =====
H:\dmake >gcc -c -I. -Iemx -DOS2 -U__GNUC__ -Zmtd -O dmake.c
In file included from extern.h:66,
                 from dmake.c:87:
emx\public.h:161: conflicting types for `_chdir'
H:\EMX\INCLUDE\stdlib.h:194: previous declaration of `_chdir'
dmake.c: In function `main':
dmake.c:121: warning: return type of `main' is not `int'
===== snip =====

the last two lines... they are saying that instead of...

  PUBLIC void
  main(argc, argv)
  int  argc;
  char **argv;
  { /* stuff */ }

that i should maybe have...

  PUBLIC void
  int main(argc, argv)
  int  argc;
  char **argv;
  { /* stuff */ }

correct?

)\/(ark

* Origin: (1:3634/12)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252
SEEN-BY: 670/218
@PATH: 3634/12 3651/9 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.