Previously it happened that these headers in all clients were included after
some other headers that define these types (directly or indirectly).


Oh, I see it's just that we were always lucky to have e.g. include FileName.h
before include Clipboard.h.

Thanks,
Pavel

Yes.
C/C++ header include system is really fragile. And always including own header first (in .cpp) can help in preventing such issues with include order.


Yuriy
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to