[NTLUG:Discuss] C questions

Stuart Johnston saj at thecommune.net
Mon Sep 19 12:09:16 CDT 2005


Fred James wrote:
> All
> Can anyone confirm for me that
>    //
> is not an allowed syntax for a commnet line in ANSI C, please?

The ANSI C99 standard does define // as a single line comment (6.4.9-2). 
  Some compilers require a special option to enable this.


> 
> Can anyone confirm for me that
>    _EXPORT is not a part of extern in ANSI C, please?
> (example:

As far as I can tell, _EXPORT is not mentioned in the standard.




More information about the Discuss mailing list