As of gcc-4.x.x there are _many_ more checks for this type of thing...
actually, some apps will plain not compile because there are so many
warnings and / or they are treated more seriously.
Justin is right ... the 2.95 gcc compiler, although still in use, is
_very_ old!!
~/Chris
Ed wrote:
> The thing is... I didn't GET a warning when I compiled and linked it
> as separate modules. If I HAD gotten a warning I would never have had
> the problem.
>
> --- In "j.chitte" <> wrote:
>> --- In "Ed" <edkbaugh@> wrote:
>>
>>> Maybe there is some compiler or linker option I should have been
>> using
>>> that would have caught this ambiguity and prevented this from
>>> happening. If anyone knows the answer to this, please share you
>>> knowledge with me.
>>>
>> The lesson is quite simple: don't ignore compiler warnings! If you
>> fixed the warning you'd have found the mistake straight away.
>>
>> Why do you need more options?
>>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|