Hi,

Sean has left the following comment at Convert bu_free((char*)...) casts to bu_free((genptr_t)...) casts http://www.google-melange.com/gci/task/view/google/gci2012/7966238:


I suspect so too..


The problem will be whether there are any places in the code where the compiler isn't happy about performing the conversion automatically from whatever the provided type is to the void* type. That is likely going to be platform-specific, but if we can get rid of most of them, it's still a win. Ones that might be a problem are where we do type punning or passing arrays or elements to arrays that might make the compiler bark. In those (few?) cases, a cast may still be needed. Make sure you compile in Release mode with strict enabled (it's the default) when you test. Thanks!


Greetings,
The Google Open Source Programs Team


---
You are receiving this message because you are subscribed to Convert bu_free((char*)...) casts to bu_free((genptr_t)...) casts. To stop receiving these messages, go to: http://www.google-melange.com/gci/task/view/google/gci2012/7966238.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to