git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] Fix definition of ARRAY_SIZE for non-gcc builds

From
Charles Bailey <charles@hashpling.org>
Date
Jun 24, 2015, 22:19 UTC
Message-ID
<20150624221910.GA21368@hashpling.org>
In-Reply-To
<1435183927-21217-1-git-send-email-charles@hashpling.org>
On Wed, Jun 24, 2015 at 11:12:07PM +0100, Charles Bailey wrote:
Show 5 quoted lines
> From: Charles Bailey <cbailey32@bloomberg.net>
> 
> The improved ARRAY_SIZE macro uses BARF_UNLESS_AN_ARRAY which is expands
> to a valid check for recent gcc versions and to 0 for older gcc
> versions but is not defined on non-gcc builds.
 
Actually hitting send is a sure fire way to get me spot other errors:
s/which is expands/which expands/
Previous: Charles Bailey
Message 3 of 3 in “Fix definition of ARRAY_SIZE for non-gcc builds”
  1. Fix definition of ARRAY_SIZE for non-gcc buildsCharles Bailey, Jun 24, 2015
  2. Fix definition of ARRAY_SIZE for non-gcc buildsCharles Bailey, Jun 24, 2015
  3. Charles BaileyJun 24, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.