Re: textutils -> od 2.0.14 bug - solved

"Eric Backus" <[email protected]>
Newsgroups gmane.comp.gnu.textutils.bugs
Organization Agilent Technologies
Message-ID <[email protected]>
From: "Jim Meyering" <[email protected]>

> >> > #if N_SIZE_SPECS != N_WIDTH_BYTES
> >> > #error Array size mismatch
> >> > #endif
>
> That is indeed more readable.  But I don't see how to
> get N_WIDTH_BYTES automatically without using sizeof.
> If you can make that work, please send a complete patch.

Um, you're right.  After all these year's you'd think I would remember that
the preprocessor doesn't know sizeof.  Sorry to bother you with that.

--
Eric Backus
R&D Design Engineer
Agilent Technologies, Inc.
425-335-2495 Tel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.