[PATCH 00/20] Create and use hidden aliases in libgmp.so
Torbjorn Granlund
tg at gmplib.org
Tue Mar 5 11:30:10 CET 2013
nisse at lysator.liu.se (Niels Möller) writes:
Actually, I think that's incorrect.
Everyone has some *familiarity* with the C preprocessor, which surely is
an advantage. And maybe most C programmers think they they understand
it. But in my experience, very few understand the fine details of cpp
macro expansion.
E.g., you probably wrote those GLUE and GLU1 macros without any
difficulty, but understanding how that works and why really makes you a
Great Guru to the vast majority of C programmers.
Ehum, I don't understand with which cpp quirk that indirection is
coping... I.e., I'd expect __GMP_GLU1 and __GMP_GLUE to do the exact
same thing. Darn, and I am an ex compiler hacker.
Perhaps we should use m4 for preprocessing C instead? :-)
--
Torbjörn
More information about the gmp-devel
mailing list