Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Does your C compiler support "//"? (was Re: using structures)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Douglas A. Gwyn, post: 1673978"] In fact many such typedefs in interfaces on large platforms were already using extended integer types wider than long. While in a C90 DR response the committee was forced to say, by a strict reading of the rules, that none of the typedefs in the C standard could use an extended integer type, this didn't apply to other typedefs. Obviously there could be problems in that regard, *which is why we addressed this in C99*. To characterize this as a flaw in C99 is wrong; it was actually a deficiency in C90. Works the same everywhere under the same conditions, namely those under which the function would return a value that can be represented in type long int. Wouldn't work anywhere under conditions where that wasn't true. Sure it will, since it's not dependent on any changes to the language itself. (Contrast to "long long".) All you need to do is to provide the missing standard header. Use the one I put in the public domain years ago if you wish. Wrong. I provided the very first program I laid my hands on, which turned out to have one *bug* in that it didn't check for argc==0, easily fixed and irrelevant to the issue of whether a s.c. program could be a useful one. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Does your C compiler support "//"? (was Re: using structures)
Top