swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting problem


From: Marcus G. Daniels
Subject: Re: porting problem
Date: 27 Mar 1998 14:51:04 -0800

>>>>> "WS" == Wengui Su <address@hidden> writes:

WS> cc1obj.exe: warings being treated as errors main.m: in function
WS> 'main': main.m:15: waring: passing arg 2 of 'initSwarm' from
WS> incompatible type

I went on a retentive cleaning spree at one point and changed
the ambiguous use of "char *" (pointer to a character) vs. "const char *"
(passing in a string).  So make the argv you pass a pointer have `const'
attribute, or cast it that way.



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]