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: altivec: fix macros


>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:

 > I know Altivec is already grossly in the user's namespace, but is it
 > really necessary to #define bool?  Could you at least get away with

Ahh if I could only meet the person who came up with altivec
specs... Bool, unfortunately, is required by the altivec specs.

 > including <stdbool.h>?

<stdbool.h> is not guaranteed to be in every system is it? (??)  What
if we're compiling for an embedded system with no GNU stdbool.h?

Besides bool in this case is defined to unsigned, not plain int, as
stbool.h defines it as.

Aldy


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