This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: powerpc64 libstdc++


>>>>> Alan Modra writes:

Alan> http://www.gnu.org/prep/standards_11.html#SEC11 prefers "if ()" over
Alan> "#ifdef".

	"The most important point is to be self-consistent--try to stick
to the conventions you pick, and try to document them as much as
possible. That way, your program will be more maintainable by others."

GCC and libstdc++ use #ifdef and #if considerably.  Also, please see
libstdc++v3/config/cpu/m68k/atomicity.h .

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]