From: Johan E. <jbc...@sw...> - 2014-02-09 16:02:14
|
Hi all, Just now Inkscape hit on a build error on Mac (clang) because _GLIBCXX_IOSTREAM is not defined in libc++'s <iostream>. point.h defines operator<< for Point, without #ifdef guard. But generic-rect.h _does_ define it with #ifdef guard, and so operator<<(iostream, Rect) is not available. Inkscape's (new) code assumed it is available and hence fails. Should we separate all the iostream output functions into a separate file that people can then optionally include? I somewhat agree with not "tainting" the code to force including <iostream>... (for now, I have removed the #ifdefs in Inkscape's source) Cheers, Johan |