On 2012-01-04 16:31, Artur Skawina wrote:
On 01/04/12 10:39, Manu wrote:
Walter made an argument "The same goes for all those language extensions you 
mentioned. Those are not part of Standard C. They are vendor extensions. Does that mean 
that C is not actually a systems language? No."
This is absurd... are you saying that you expect Iain to add these things to 
GDC to that people can use them, and then create incompatible D code with the 
'standard' compiler?

Some of these things are *already* in GDC... Probably not documented and tested 
enough [1], but they are there. So you /can/ have function declarations such as:

pragma(GNU_attribute, always_inline, flatten, hot) int fxx(int i) { ... }

If you want your code to be portable (between compilers) you would need to wrap that in a version statement.

--
/Jacob Carlborg

Reply via email to