Undocumented compile options are the best compile options.
Same goes for library dependencies.
Came into my office this morning, actually saw my own corpse, and surveyed the results of last night's marathon compile fest.... 5 empty coke cans, 2 KitKat wrappers, and a big forehead print on my monitor. Oh yeah.... and nothing to show for it.
Afternoon Update : Sat back down in front of this project. Tried to think about what's wrong. Instead, I came up with a list of alternative careers :