¡@

Home 

2014/10/15 ¤U¤È 10:11:01

iphone Programming Glossary: libblue.a

How to prevent a globally overridden “new” operator from being linked in from external library

http://stackoverflow.com/questions/1879400/how-to-prevent-a-globally-overridden-new-operator-from-being-linked-in-from-ex

linked in from external library In our iPhone XCode 3.2.1 project we're linking in 2 external static C libraries libBlue.a and libGreen.a. libBlue.a globally overrides the new operator for it's own memory management. However when we build our.. library In our iPhone XCode 3.2.1 project we're linking in 2 external static C libraries libBlue.a and libGreen.a. libBlue.a globally overrides the new operator for it's own memory management. However when we build our project libGreen.a winds up.. when we build our project libGreen.a winds up using libBlue's new operator which results in a crash presumably because libBlue.a is making assumptions about the kinds of structures being allocated . Both libBlue.a and libGreen.a are provided by 3rd..