Re: Strange occurencies in Borland makefile

From: George Greer (greerga@circlemud.org)
Date: 06/02/02


On Sun, 2 Jun 2002, Thomas Arp wrote:

>Is there a way to get past this ? Could the CREATE macro be made a
>function instead ?

You could change it so that it computes the size and calls something like
'circle_malloc' if you wanted.

>I mean, getting some 400 warnings in an otherwise working installation is
>quite annoying.

A better solution is to find the code to turn off the warnings, like these
have been:

# if defined(__BORLANDC__)      /* Silence warnings we don't care about. */
#  pragma warn -par     /* to turn off >parameter< 'ident' is never used. */
#  pragma warn -pia     /* to turn off possibly incorrect assignment. 'if (!(x=a))' */
#  pragma warn -sig     /* to turn off conversion may lose significant digits. */
# endif

>> There are sysdep.h adjustments too.
>
>The readme.borland doesn't mention any sysdep.h changes. Also, PATH_MAX
>isn't anywhere in any header files. I guess it's just a question of
>adding it in sysdep.h, but I thought you'd like to know it isn't there,
>as a bug report, sort of.

New in bpl21.  It's POSIX, but apparently Windows compilers don't have it.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT