Christian Ohm schreef:
> On Monday, 30 April 2007 at 17:04, Christian Ohm wrote:
>   
>> Good question. I think the linker couldn't find gridIterate when it was
>> inlined. Unfortunately my system decided to inundate me with "invalid
>> conversion" errors when using g++ now (which didn't show up before, and
>> are not Warzone related), so i cannot test it...
>>     
> Argh, forgot the -fpermissive option to g++... It's a linker error,
> "undefined reference to `gridIterate()'".
>
> Don't know why that doesn't happen with gcc.
>   
Try adding the keyword "static" in front of "inline". You should then
have the same behaviour with gcc as with g++.

-- 
Giel

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to