JohnLangford/vowpal_wabbit — pull request #259 by mdagost (2014-03-25 21:04:41+00:00)
Title: Fixed the ":" wildcard for quadratic interactions on Mac. 

On OS X 10.8.4, the flags "--quadratic ::" and "--quadratic :a" don't generate wildcarded quadratic interactions as they should. These are the problem lines:

https://github.com/JohnLangford/vowpal_wabbit/blob/master/vowpalwabbit/parse_args.cc#L579
https://github.com/JohnLangford/vowpal_wabbit/blob/master/vowpalwabbit/parse_args.cc#L569

It's not entirely clear to me what the cause is (something having to do with character to string conversion or concatenation). Using stringstreams instead solves the problem on Mac and also works on Ubuntu 12.04.

Resolves #257.