Re: Magic System - Parsing

From: George (greerga@CIRCLEMUD.ORG)
Date: 05/05/98


On Tue, 5 May 1998, Dhrydan wrote:

>Last (Side) Question:
>  I'm having a problem with gcc ("truncation of literal"s)...What would be
>the best forum/targeting for the question?

If you mean a "string" getting chopped off during run-time, I'd say add
'const' to the declaration of the variable.  That'll show you were you
attempt to write to the variable, or use -Wwrite-strings.

(CircleMUD does some chomping of string literals at the moment...when the
do_ functions are called explicitly in most cases.)

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST