Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> One problem with using different debug macros in your debug build is that any libraries you link in must also be using the same flags.

They don't have to be, but it certainly makes this world's easier. If the flags are not the same, for sure you have to be very careful about passing objects between DLL boundaries.

At the companies I've done C++ work at, we've always had the source for all non C libs and compiled any C++ libs our selves (except for Windows libs, bit they also provide checked debug libs), so we could control the flags.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: