"Chris DiPierro" <[EMAIL PROTECTED]> wrote in message
news:6249@palm-dev-forum...
>
> Someone asked me if I had multiple definitions of the function I was
having
> problems of. I DID! Aha I thought as I got rid of the multiple
definitions.
> So I got rid of the old definitions and tried again.
>
> Now I get the following:
>
> "It performed a 'line 1111 instruction'. ..."
>
> A line 1111 instruction??? What the heck is that!?
>

I was the one who suggested looking for duplicate definitions because I ran
into that problem. It took a day to figure what was happening :( I also ran
into the line 1111 messages. The problem was the same - duplicate
definitions. I would suggest you go through your source checking to make
sure there are no duplicate prototypes anywhere. Somewhat painful to do, but
well worth the time. A egrep based shell script makes it somewhat less
painful.

Unfortunately, the gcc compiler does not catch these errors. It cannot catch
all of them since the duplicates may be in multiple source modules, but at
least it could catch the most common cases when the prototypes are defined
in header files.

Another reason I'm not entirely happy with the multisegment scheme in 2.0 :(

/Ashok



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to