figueroa@eniac.seas.upenn.edu (Janet Figueroa) (12/19/89)
Greetings from the City of Brotherly Love!!! I would like to ask anyone who has had the experience of "moving" applications from the Xenix 286 2.2.1 environment to Xenix 386 2.3.2. I have some interesting error and warning messages which could stem from the use of a new compiler. I have been told the the 2.3 development system uses an ANSI C Compiler. Would anyone have any helpful hints and todo's about the above conversion?? The messages are the following : warning C4062: near/far mismatch in argument : convresion supplied warning C4060: conversion of long address to short address warning C4059: segment lost in conversion Compiler error (assertion): file @(#)grammar.c:1.32, line 118 source=xx warning C4024: 'memset' : different types : parameter 1 warning C4047: 'argument' : different levels of indirection warning C4028: parameter xx declaration different Other Questions : (1) The latter warnings could come from my define statements for my functions. Are there any changes to ANSI C that could affect these? (2) The cc flags that I use are "-c -lx -lm -lmalloc". Would anyone have any idea where the near/far mismatch comes in? I try to keep up with this newsgroup but I would appreciate an e-mail response. If there is enough interest, I will post a summary. Thanx in advance. Have a wonderful holiday season!! Janet Figueroa figueroa@eniac.seeas.upenn.edu