[cfe-commits] PTH Portability, was: r62668 - /cfe/trunk/lib/Lex/PTHLexer.cpp

Gabor Greif gabor at mac.com
Wed Jan 21 13:32:30 PST 2009


Another case for portability is for example configuration management
tools such as ClearCase: when my colleague and me have defined  
sufficiently
close configurations  for our views and he builds his project along  
with PCHs, the
next time I do the same thing I get those PCHs "winked in" even if it  
was created on a
machine with different endianness. So it is better if my machine can  
properly read
them, instead of regenerating (and sending it back to my colleague  
with the same
defect).

This is not working for GCC's precompiled headers, since they are  
inherently
non-portable.

Cheers,

	Gabor



More information about the cfe-commits mailing list