This is the mail archive of the gcc-bugs@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]

Re: g++ -vs Java boolean


>>>>> "Per" == Per Bothner <per@bothner.com> writes:

Per> Maybe:
Per>         typedef bool jboolean;
Per> is the best solution.  Perhaps we need a __mode__-attribute, at
Per> least until the new abi is the default.

Is this right?

	typedef bool jboolean __attribute__ ((__mode__ (__byte__)));

Tom


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