October 17, 2004 Standard bug: "extern:" is not an alias for "extern (D):" | ||||
---|---|---|---|---|
| ||||
The standard (http://www.digitalmars.com/d/attribute.html) says: D conventions are: extern (D): or: extern: In fact, extern without a linkage attribute inherits the current linkage attribute. So this: extern (C): extern: void memmove (); And this: extern (C): void memmove (); Are functionally identical. Walter, please respond to this post with how you're going to fix it. |
October 26, 2004 Re: Standard bug: "extern:" is not an alias for "extern (D):" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Burton Radons | Perhaps it should be an error to not specify a linkage. "Burton Radons" <burton-radons@smocky.com> wrote in message news:cku6qn$o14$1@digitaldaemon.com... > The standard (http://www.digitalmars.com/d/attribute.html) says: > > D conventions are: > > extern (D): > > > or: > > extern: > > In fact, extern without a linkage attribute inherits the current linkage attribute. So this: > > extern (C): > extern: > void memmove (); > > And this: > > extern (C): > void memmove (); > > Are functionally identical. Walter, please respond to this post with how you're going to fix it. > |
Copyright © 1999-2021 by the D Language Foundation