Re: [NEWBIE][CODE] Oasis linking problem

From: Mathew Earle Reuther (graymere@zipcon.net)
Date: 07/31/02


> db.c     Comment out the one in genzon.c

Comments are made by placing the characters /* before a section of code
and */ after it.  This causes the compiler to ignore the things between
those characters, thus effectively making it a "comment" (something you
should use liberally in your code wherever there may be trouble
understanding it, ot to make reminders, etc.)

In genzon.c there is a function which should not be processed by the
comiler, as it also exists in db.c . . . thus you will want to "comment
out" (put comment marks around it, the WHOLE THING, not just the function
header) that repeat.  By commenting it out you save yourself the trouble
of retyping "just in case" you need that code again.  If you become
positive that the code is no longer needed, you can actually remove
(delete, backspace, ctrlx, whatever you want) the code.

How you managed to get this error after patching in Oasis to bpl21 is
beyond me unless you handpatched or got rejects, because it should have
gone cleanly in, but there you go. :)

Hope that helps.

-Mathew

--
   +---------------------------------------------------------------+
   | 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