[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about portability guidelines

From: Paul Smith
Subject: Question about portability guidelines
Date: Mon, 02 Jan 2017 15:07:11 -0500

Looking at the portability guidelines[1] there is some confusion; early
on it says:

> Currently we assume at least a freestanding C89 compiler

But then later in that same section I see things like:

> The GNU coding standards allow one departure from strict C99


> Hence Gnulib code should avoid using constructs (e.g., undeclared
> functions return int) that do not conform to C99.

etc.  Are these references to C99 typos, and they should be C89 instead?

Also, I see this:

> Gnulib code can assume that standard internal types like size_t are no
> wider than long.

Is that right?  On a 64bit system compiling with Microsoft Visual C,
long is only a 32bit integer.  Is it saying that gnulib is specifically
not intended to work with MS Visual C?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]