Re: What is translation unit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi mahmoodn,

> Sorry, I did not fully understand. I think mean that number of translation
> units = number of cpp files.
> Right?

More-or-less.

If a Fred.cpp does a #include "Barney.cpp", then Barney.cpp will be in the
same translation unit as Fred.cpp.

If Wilma.cpp is not compiled, then there is no Wilma translation unit.

Sincerely,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux