bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] three small bugs, only for compilation


From: Andrew Makhorin
Subject: Re: [Bug-glpk] three small bugs, only for compilation
Date: Sun, 27 Jun 2010 17:24:46 +0400

Hi Paul,

Thank you for your report.

I would like to note that the standard headers you are using violate
some naming conventions explicitly stated in the ANSI/ISO C standards.
Namely, there must be no macro named SIZE_T_MAX defined in <limits.h>.
Only names beginning with __a or _A or __A, where 'a' is a lower-case
letter, 'A' is an upper-case letter, are reserved for using in the
standard headers; i.e. _SIZE_T_MAX is allowed while SIZE_T_MAX is not.
The same concerns 'error'. There must be no such member in a structure
(FILE) whose declaration is visible in the standard headers, i.e. that
member must have name like '__error', not 'error'. You should report
this to a developer or vendor of the standard C library you are using.


Andrew Makhorin





reply via email to

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