Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > Re: Opinions ab...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 52 of 57 Topic 26058 of 26972
Post > Topic >>

Re: Opinions about a book

by Ben Bacarisse <ben.usenet@[EMAIL PROTECTED] > May 20, 2008 at 03:31 PM

santosh <santosh.k83@[EMAIL PROTECTED]
> writes:

> Keith Thompson wrote:
>
>> santosh <santosh.k83@[EMAIL PROTECTED]
> writes:
<snip>
>>> But their do***entation (which you can access after you install it)
>>> seems to suggest otherwise. For example the following is a quotation
>>> from the compiler manual for version 10.1.015 (Linux) over here:
>>>
>>>>>>>>>>>>>>
>>>
>>> Conformance to the C Standard
<snip>
>>> The following C99 features are sup****ted in this version of the Intel
>>> C++ Compiler:
>>>
>>>     * restricted pointers (restrict keyword).
>>>     * variable-length Arrays
>>>     * flexible array members
>>>     * complex number sup****t (_Complex keyword)
>>>     * hexadecimal floating-point constants
>>>     * compound literals
>>>     * designated initializers
>>>     * mixed declarations and code
>>>     * macros with a variable number of arguments
>>>     * inline functions (inline keyword)
>>>     * boolean type (_Bool keyword)
>>>
>>> <<<<<<<<<<<<<
>>>
>>> So as you can see Intel's C99 sup****t seems to be less complete than
>>> gcc.
>> 
>> Or perhaps the do***entation is out of sync with the compiler.
>
> It would be amazing for a company with the resources that Intel has to
> fail to update the do***entation for one of their im****tant software.
>
>> Suggestion: Write a few small programs that use C99-specific features
>> that aren't in that list, and see if Intel's compiler can handle them.
<snip>
> Yes, Good idea. I'll post anything I find in due course.

I am quite impressed (with one tiny exception).  I tested the following
unlisted features:

 * long long int
 * long double
 * // comments
 * void f(int a[static 1]); 
 * Variable arg macros
 * Trailing , in enum
 * __func__
 * Correct scoping of variable declared in a "for" statement.

All seem OK at first glance.  A couple of tricky-to-parse compound
literal expressions also pass (I would have been surprised if they had
not).

I did not test any library issues, since I think my icc install uses
the existing C library, but all the right headers seem to be there.

The only problem so far is that this compilation unit:

main(void){}

compiles with no diagnostic (flags: icc -std=c99 -strict-ansi -Wall).
Surely one is now required in C99 due to the removal of implicit int?

It seems they've done most of the hard stuff.  If I get time, I'll do
a few more "feature tests" (none of the above tests that the features
really work as they should -- only that there seems to some sup****t
for it).

-- 
Ben.
 




 57 Posts in Topic:
Opinions about a book
nembo kid <nembo@[EMAI  2008-05-04 22:19:25 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-04 23:07:37 
Re: Opinions about a book
Robert Gamble <rgamble  2008-05-04 16:37:37 
Re: Opinions about a book
lawrence.jones@[EMAIL PRO  2008-05-04 22:19:01 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 04:21:49 
Re: Opinions about a book
arnuld <sunrise@[EMAIL  2008-05-05 21:00:26 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 05:03:53 
Re: Opinions about a book
Martin Ambuhl <mambuhl  2008-05-05 03:44:03 
Re: Opinions about a book
"cr88192" <c  2008-05-05 15:31:26 
Re: Opinions about a book
Ian Collins <ian-news@  2008-05-05 17:42:25 
Re: Opinions about a book
Ian Collins <ian-news@  2008-05-05 17:44:57 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 05:50:50 
Re: Opinions about a book
jacob navia <jacob@[EM  2008-05-05 09:10:14 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 07:53:40 
Re: Opinions about a book
Flash Gordon <spam@[EM  2008-05-05 10:12:55 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 10:26:19 
Re: Opinions about a book
Mark McIntyre <markmci  2008-05-05 12:16:19 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 11:29:41 
Re: Opinions about a book
Mark McIntyre <markmci  2008-05-05 20:08:47 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 21:17:43 
Re: Opinions about a book
Flash Gordon <spam@[EM  2008-05-05 12:15:42 
Re: Opinions about a book
arnuld <sunrise@[EMAIL  2008-05-06 06:44:12 
Re: Opinions about a book
Mark McIntyre <markmci  2008-05-05 12:14:26 
Re: Opinions about a book
Mark McIntyre <markmci  2008-05-05 12:11:59 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 11:27:25 
Re: Opinions about a book
arnuld <sunrise@[EMAIL  2008-05-06 09:34:12 
Re: Opinions about a book
Keith Thompson <kst-u@  2008-05-05 09:20:44 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 16:37:18 
Re: Opinions about a book
lawrence.jones@[EMAIL PRO  2008-05-05 15:54:52 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 21:20:20 
Re: Opinions about a book
Mark McIntyre <markmci  2008-05-05 20:15:21 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 21:19:09 
Re: Opinions about a book
dj3vande@[EMAIL PROTECTED  2008-05-05 16:30:33 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-05 17:11:09 
Re: Opinions about a book
dj3vande@[EMAIL PROTECTED  2008-05-05 20:18:44 
Re: Opinions about a book
Nick Bowler <draconx@[  2008-05-05 05:09:40 
Re: Opinions about a book
Nick Keighley <nick_ke  2008-05-06 03:29:30 
Re: Opinions about a book
Nick Keighley <nick_ke  2008-05-06 03:34:55 
Re: Opinions about a book
arnuld <sunrise@[EMAIL  2008-05-06 15:50:08 
Re: Opinions about a book
santosh <santosh.k83@[  2008-05-17 22:08:48 
Re: Opinions about a book
Keith Thompson <kst-u@  2008-05-17 11:46:50 
Re: Opinions about a book
santosh <santosh.k83@[  2008-05-20 01:32:40 
Re: Opinions about a book
Keith Thompson <kst-u@  2008-05-19 13:17:37 
Re: Opinions about a book
santosh <santosh.k83@[  2008-05-20 16:38:35 
Re: Opinions about a book
Jean-Marc Bourguet <jm  2008-05-17 20:58:43 
Re: Opinions about a book
Chris H <chris@[EMAIL   2008-05-18 16:22:22 
Re: Opinions about a book
Keith Thompson <kst-u@  2008-05-18 08:58:29 
Re: Opinions about a book
Chris H <chris@[EMAIL   2008-05-18 17:38:13 
Re: Opinions about a book
Spiros Bousbouras <spi  2008-05-18 11:37:30 
Re: Opinions about a book
Spiros Bousbouras <spi  2008-05-18 11:47:08 
Re: Opinions about a book
Richard Heathfield <rj  2008-05-19 01:00:29 
Re: Opinions about a book
Ben Bacarisse <ben.use  2008-05-20 15:31:11 
Re: Opinions about a book
Keith Thompson <kst-u@  2008-05-20 09:09:25 
Re: Opinions about a book
Flash Gordon <spam@[EM  2008-05-20 18:24:07 
Re: Opinions about a book
Ben Bacarisse <ben.use  2008-05-20 17:08:32 
Re: Opinions about a book
Cromulent <cromulent@[  2008-05-20 21:55:17 
Re: Opinions about a book
Ben Bacarisse <ben.use  2008-05-20 17:32:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 16:16:37 CDT 2008.