MacOS "font.cpp" breakage from ccc2a288f180e826bda2c91bf382b242ce0e1c99
#1
This is just a heads-up note that commit ccc2a288f180e826bda2c91bf382b242ce0e1c99 was a breaking change that ends up with a compile failure in font.cpp on MacOS X (Xcode 7.3.1). 

Code:
similar/2d/font.cpp:149:31: error: conditional expression is ambiguous; 'font_scaled_float<'x'>' can be converted to 'const short' and vice versa
similar/2d/font.cpp:149:10: error: default initialization of an object of const type 'const float'
similar/2d/font.cpp:149:10: error: default initialization of an object of const type 'const int'

I don't really understand the font stuff so I don't know why the change causes this error, but I'm branching from just before this point because I can't compile anywhere after it.

Cheerio,
-Ben
Reply
#2
Response posted in the Github issue you cross-posted for this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)