On Thu, 27 Feb 1997, Jasper wrote: > ****** strcat(buf, ", sets "); ***********Uuum just a guess, > should that second comma be there?**** It's in a character constant, so it doesn't make a difference. The unterminated character constant means that you have a character constant ("blah" is a character constant, anything else isn't, even if it's a 'const char' variable, it's not a character constant :)) that you start and don't finish. The thing is that these can happen in two seperate instances: a. forgetting the beginning quote (as he did and I pointed out in my other recent response). b. forgetting the ending quote They both result in the same error, and the error occurs quite a ways down from where you made the mistake. My version of gcc seems to make educated "guesses" as to where it started at. -- Daniel Koepke dkoepke@california.com Forgive me father, for I am sin. +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | | Or send 'info circle' to majordomo@cspo.queensu.ca | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST