C::B warning: got an empty-body issue.  (I'd just throw parens around the rng and m->def variables it it was my PR.)

Apart from that and needing to put this in the code::Blocks project file, it's recoverable.