balthasar | Dec 25, 2008 8:25 am |
---|---|
Subject: (client.cpp) taking address of temporary Hi, while compiling maxr I noticed the compiler warnings "taking address of temporary" in client.cpp, lines 1386, 1390 and 1394. It is generally a bad idea to do this (even though you use the address only on the following codeline) because you cannot know how a compiler will handle temporary variables (I don't think there is a standard for this). Maybe you change the code as suggested. |
|
Attachments: client.cpp.patch.txt (Filesize: 1.88 KB) |
beko | Dec 25, 2008 10:58 am |
---|---|
Subject: Re: (client.cpp) taking address of temporary thanks for the patch. It's a last minute issue and Eiko knows already about it. Sadly a lot of new bugs made it last minute ![]() |