From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 27 Oct 2014 18:20:55 -0400 Subject: [U-Boot] [U-Boot, 10/10] test: Add a simple test to detected warnings with uint64_t, uintptr_t In-Reply-To: <1413369519-11677-11-git-send-email-sjg@chromium.org> References: <1413369519-11677-11-git-send-email-sjg@chromium.org> Message-ID: <20141027222055.GS25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 15, 2014 at 04:38:39AM -0600, Simon Glass wrote: > These types are problematic because they are typically declared in a > non-standard way in U-Boot. For example, U-Boot uses 'long long' for > int64_t even on a 64-bit machine whereas stdint.h uses 'long'. > Similarly, U-Boot always uses 'long' for intptr_t whereas stdint.h mostly > uses 'int'. > > This simple test script runs a few toolchains on a few archs to check for > warnings. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: